mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 01:04:10 +08: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
@ -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…
x
Reference in New Issue
Block a user