1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2015-08-12 23:33:29 +02:00
parent 158716f96a
commit 840c8e6b02

View file

@ -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) )