mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 12:51:23 +03:00
feedback: wipe the status bar by default after 20 keystrokes
The 26 keystrokes inherited from Pico is a weird number, and too long.
This commit is contained in:
parent
9266fa6657
commit
71402bb7e9
@ -2286,12 +2286,8 @@ void statusline(message_type importance, const char *msg, ...)
|
||||
SET(WHITESPACE_DISPLAY);
|
||||
#endif
|
||||
|
||||
/* If doing quick blanking, blank the status bar after just one keystroke.
|
||||
* Otherwise, blank it after twenty-six keystrokes, as Pico does. */
|
||||
if (ISSET(QUICK_BLANK))
|
||||
statusblank = 1;
|
||||
else
|
||||
statusblank = 26;
|
||||
/* When requested, wipe the status bar after just one keystroke. */
|
||||
statusblank = (ISSET(QUICK_BLANK) ? 1 : 20);
|
||||
}
|
||||
|
||||
/* Display a normal message on the status bar, quietly. */
|
||||
|
Loading…
Reference in New Issue
Block a user