REQ_(SCROLL_PAGE_DOWN, "Scroll one page down"), \
\
REQ_GROUP("Misc") \
+ REQ_(NONE, "Do nothing"), \
REQ_(PROMPT, "Bring up the prompt"), \
- REQ_(SCREEN_UPDATE, "Update the screen"), \
REQ_(SCREEN_REDRAW, "Redraw the screen"), \
REQ_(SCREEN_RESIZE, "Resize the screen"), \
REQ_(SHOW_VERSION, "Show version information"), \
{ ':', REQ_PROMPT },
/* wgetch() with nodelay() enabled returns ERR when there's no input. */
- { ERR, REQ_SCREEN_UPDATE },
+ { ERR, REQ_NONE },
- /* Use the ncurses SIGWINCH handler. */
+ /* Using the ncurses SIGWINCH handler. */
{ KEY_RESIZE, REQ_SCREEN_RESIZE },
};
redraw_display();
break;
- case REQ_SCREEN_UPDATE:
+ case REQ_NONE:
doupdate();
return TRUE;
break;
}
- request = REQ_SCREEN_UPDATE;
+ request = REQ_NONE;
break;
}
case REQ_SCREEN_RESIZE:
bind diff a previous
bind diff d next
bind diff b move-first-line
+ # 'unbind' the default quit key binding
+ bind main Q none
--------------------------------------------------------------------------
Keys are mapped by first searching the keybindings for the current view, then
endif::backend-xhtml11[]
Misc:
------------------------------------------------------------------------------
+none Do nothing
prompt Bring up the prompt
-screen-update Update the screen
screen-redraw Redraw the screen
screen-resize Resize the screen
show-version Show version information