mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix pager double prompt if paging during special character.
This commit is contained in:
parent
158716f96a
commit
840c8e6b02
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ bool pager_is_out_of_allowed_lines(struct pager* pager, wchar_t wc)
|
|||
|
||||
void pager_push_final_char(struct pager* pager, wchar_t wc)
|
||||
{
|
||||
if ( !wc )
|
||||
if ( pager->quiting || !wc )
|
||||
return;
|
||||
|
||||
while ( pager_is_out_of_allowed_lines(pager, wc) )
|
||||
|
|
Loading…
Reference in a new issue