mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Fix for issue where pager contents may stay around if you executed a
command with pager contents visible
This commit is contained in:
parent
73c2846d64
commit
14f4e0e271
1 changed files with 3 additions and 0 deletions
|
@ -3427,6 +3427,9 @@ const wchar_t *reader_readline(void)
|
|||
break;
|
||||
}
|
||||
|
||||
/* The user may have hit return with pager contents, but while not navigating them. Clear the pager in that event. */
|
||||
clear_pager();
|
||||
|
||||
/* We only execute the command line */
|
||||
editable_line_t *el = &data->command_line;
|
||||
|
||||
|
|
Loading…
Reference in a new issue