mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 21:01:24 +03:00
add missing blank line, and rename total_blank() to total_update(), as
the latter is more accurate git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2387 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
b9ddb80123
commit
85616c499b
@ -315,8 +315,8 @@ CVS code -
|
||||
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)
|
||||
|
@ -674,7 +674,7 @@ void edit_redraw(const filestruct *old_current, size_t old_pww);
|
||||
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);
|
||||
|
@ -3732,7 +3732,7 @@ int do_yesno(bool all, const char *msg)
|
||||
return ok;
|
||||
}
|
||||
|
||||
void total_blank(void)
|
||||
void total_update(void)
|
||||
{
|
||||
clearok(topwin, TRUE);
|
||||
clearok(edit, TRUE);
|
||||
@ -3748,7 +3748,7 @@ void total_blank(void)
|
||||
|
||||
void total_refresh(void)
|
||||
{
|
||||
total_blank();
|
||||
total_update();
|
||||
titlebar(NULL);
|
||||
edit_refresh();
|
||||
bottombars(currshortcut);
|
||||
@ -3879,6 +3879,7 @@ void do_help(void)
|
||||
|
||||
/* Set help_text as the string to display. */
|
||||
help_init();
|
||||
|
||||
assert(help_text != NULL);
|
||||
|
||||
#ifndef DISABLE_MOUSE
|
||||
@ -3935,7 +3936,7 @@ void do_help(void)
|
||||
}
|
||||
|
||||
if (kbinput == NANO_REFRESH_KEY)
|
||||
total_blank();
|
||||
total_update();
|
||||
else {
|
||||
if (line == old_line && kbinput != ERR)
|
||||
goto skip_redisplay;
|
||||
|
Loading…
Reference in New Issue
Block a user