mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add space as an alias for page down in pager(1).
This commit is contained in:
parent
9c2f89d56c
commit
a4ee2e3724
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ void pager_prompt(struct pager* pager)
|
|||
return;
|
||||
}
|
||||
|
||||
if ( KBKEY_DECODE(codepoint) == KBKEY_PGDOWN )
|
||||
if ( codepoint == L' ' || KBKEY_DECODE(codepoint) == KBKEY_PGDOWN )
|
||||
{
|
||||
dprintf(pager->out_fd, "\r\e[J");
|
||||
pager->allowed_lines = pager->out_fd_winsize.ws_row - 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue