Fix for issue where pager contents may stay around if you executed a

command with pager contents visible
This commit is contained in:
ridiculousfish 2014-03-16 16:49:31 -07:00
parent 73c2846d64
commit 14f4e0e271

View file

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