summaryrefslogtreecommitdiffstats
path: root/curs_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'curs_lib.c')
-rw-r--r--curs_lib.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/curs_lib.c b/curs_lib.c
index 85d29688..a8635e59 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -932,7 +932,10 @@ int _mutt_enter_fname (const char *prompt, char *buf, size_t blen, int buffy, in
mutt_window_clrtoeol (MuttMessageWindow);
mutt_refresh ();
- ch = mutt_getch();
+ do
+ {
+ ch = mutt_getch();
+ } while (ch.ch == -2);
if (ch.ch < 0)
{
mutt_window_clearline (MuttMessageWindow, 0);