about summary refs log tree commit diff stats
path: root/src/ui/inputwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/inputwin.c')
-rw-r--r--src/ui/inputwin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c
index caea8ea9..6ef829a7 100644
--- a/src/ui/inputwin.c
+++ b/src/ui/inputwin.c
@@ -422,7 +422,8 @@ _inp_rl_getc(FILE *stream)
 static int
 _inp_rl_clear_handler(int count, int key)
 {
-    ui_clear_current();
+    ProfWin *win = wins_get_current();
+    win_clear(win);
     return 0;
 }