get_prompt_string(), do_prompt(), search_init(), do_replace(),
do_gotolinecolumn(), and do_int_spell_fix. (DLR)
- Move the browser drawing routines to a separate function. New
- function browser_draw(); changes to do_browser(). (DLR)
+ function browser_refresh(); changes to do_browser(). (DLR)
- browser.c:
do_browser()
- Properly set currshortcut back to the file browser shortcut
if (abort)
break;
- browser_draw(&width, longest, selected, filelist, numents);
+ browser_refresh(&width, longest, selected, filelist, numents);
kbinput = get_kbinput(edit, &meta_key, &func_key);
parse_browser_input(&kbinput, &meta_key, &func_key);
* calculate and return. longest is the length of the longest filename,
* and hence the width of each column of the list. selected is the
* filename that is currently selected. */
-void browser_draw(int *width, int longest, int selected, char
+void browser_refresh(int *width, int longest, int selected, char
**filelist, size_t numents)
{
struct stat st;
*dir);
char *do_browse_from(const char *inpath);
void parse_browser_input(int *kbinput, bool *meta_key, bool *func_key);
-void browser_draw(int *width, int longest, int selected, char
+void browser_refresh(int *width, int longest, int selected, char
**filelist, size_t numents);
void striponedir(char *path);
#endif