disable_cursorpos(). (DLR)
- Add -U/--quickblank option, a Meta-U toggle, and a
"quickblank" rcfile option to blank the statusbar after 1
- keystroke instead of 25. Note that this is disabled when
- NANO_SMALL is defined. Changes to toggle_init(), usage(),
- main(), statusbar(), nanorc.sample, nano.1, and nanorc.5.
- (DLR, suggested by CHAO Wei-Lun)
+ keystroke instead of 25. Note that this obviously has no
+ effect when constant cursor position display is turned on, and
+ that this is disabled when NANO_SMALL is defined. Changes to
+ toggle_init(), usage(), main(), statusbar(), nanorc.sample,
+ nano.1, and nanorc.5. (DLR, suggested by CHAO Wei-Lun)
- chars.c:
make_mbstring()
- Change erroneous ENABLE_EXTRA #ifdef to NANO_EXTRA to fix a
void check_statusblank(void)
{
- if (statusblank > 1)
+ if (statusblank > 0)
statusblank--;
- else if (statusblank == 1 && !ISSET(CONST_UPDATE)) {
- statusblank = 0;
+
+ if (statusblank == 0 && !ISSET(CONST_UPDATE)) {
blank_statusbar();
wnoutrefresh(bottomwin);
reset_cursor();
disable_cursorpos = TRUE;
statusblank =
#ifndef NANO_SMALL
- ISSET(QUICK_BLANK) ? 1 :
+ ISSET(QUICK_BLANK) && !ISSET(CONST_UPDATE) ? 1 :
#endif
25;
}