(DLR)
do_spell()
- If the spell-checker printed any error messages onscreen, call
- total_update() to make sure they're cleared off. (DLR, found
+ total_redraw() to make sure they're cleared off. (DLR, found
by CHAO Wei-Lun)
do_output()
- Properly allow wrapping when we insert a tab, for consistency.
(DLR)
do_yesno()
- Allow refreshing the screen via Ctrl-L, as Pico does. (DLR)
- total_update()
+ total_redraw()
- Simplify to call clearok(TRUE) and wrefresh() on edit, which
updates the entire screen in fewer function calls. (DLR)
- When using slang, use SLsmg_touch_screen() and SLsmg_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 updates the screen before refreshing
- it into the new function total_update().
+ it into the new function total_redraw().
do_help()
- Refresh the screen when Ctrl-L is pressed in the help browser,
as Pico does. (DLR)
/* Refresh the screen. */
case NANO_REFRESH_KEY:
- total_update();
+ total_redraw();
break;
/* Go to a specific directory. */
/* If the spell-checker printed any error messages onscreen, make
* sure they're cleared off. */
- total_update();
+ total_redraw();
if (spell_msg != NULL)
statusbar(_("Spell checking failed: %s: %s"), spell_msg,
void edit_refresh(void);
void edit_update(topmidnone location);
int do_yesno(bool all, const char *msg);
-void total_update(void);
+void total_redraw(void);
void total_refresh(void);
void display_main_list(void);
void do_cursorpos(bool constant);
kbinput = get_kbinput(edit, &meta_key, &func_key);
if (kbinput == NANO_REFRESH_KEY) {
- total_update();
+ total_redraw();
continue;
} else if (kbinput == NANO_CANCEL_KEY)
ok = -1;
return ok;
}
-void total_update(void)
+void total_redraw(void)
{
#ifdef USE_SLANG
/* Slang curses emulation brain damage, part 3: If we just do what
void total_refresh(void)
{
- total_update();
+ total_redraw();
titlebar(NULL);
edit_refresh();
bottombars(currshortcut);
}
if (kbinput == NANO_REFRESH_KEY)
- total_update();
+ total_redraw();
else {
if (line == old_line && kbinput != ERR)
goto skip_redisplay;