mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 00:01:15 -03:00
Fix for issue where pager contents may stay around if you executed a
command with pager contents visible
This commit is contained in:
@@ -3427,6 +3427,9 @@ const wchar_t *reader_readline(void)
|
|||||||
break;
|
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 */
|
/* We only execute the command line */
|
||||||
editable_line_t *el = &data->command_line;
|
editable_line_t *el = &data->command_line;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user