the latter is more accurate
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2387
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
total_refresh()
- Refresh bottomwin using the value of currshortcut, and change
the code around do_refresh() calls to accommodate this. (DLR)
- - Split out the code that blanks the screen before refreshing it
- into the new function total_blank().
+ - Split out the code that updates the screen before refreshing
+ it into the new function total_update().
do_help()
- Refresh the screen when Ctrl-L is pressed in the help browser,
as Pico does. (DLR)
void edit_refresh(void);
void edit_update(topmidnone location);
int do_yesno(bool all, const char *msg);
-void total_blank(void);
+void total_update(void);
void total_refresh(void);
void display_main_list(void);
void do_cursorpos(bool constant);
return ok;
}
-void total_blank(void)
+void total_update(void)
{
clearok(topwin, TRUE);
clearok(edit, TRUE);
void total_refresh(void)
{
- total_blank();
+ total_update();
titlebar(NULL);
edit_refresh();
bottombars(currshortcut);
/* Set help_text as the string to display. */
help_init();
+
assert(help_text != NULL);
#ifndef DISABLE_MOUSE
}
if (kbinput == NANO_REFRESH_KEY)
- total_blank();
+ total_update();
else {
if (line == old_line && kbinput != ERR)
goto skip_redisplay;