From 14f4e0e2718c32147a1f99416f3bec0221ce3dad Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 16 Mar 2014 16:49:31 -0700 Subject: [PATCH] Fix for issue where pager contents may stay around if you executed a command with pager contents visible --- reader.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reader.cpp b/reader.cpp index 069771c17..7bbac43a9 100644 --- a/reader.cpp +++ b/reader.cpp @@ -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;