mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +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
3cfdc6d126
commit
2c19ca0dbf
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