about summary refs log tree commit diff stats
path: root/src/ui/inputwin.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-15 17:54:47 +0100
committerJames Booth <boothj5@gmail.com>2015-06-15 17:54:47 +0100
commita849b200b368a74da18291e875b3e6d37ea729f2 (patch)
treea205560ed6bac544e9eb070fc756a4945acd8ffc /src/ui/inputwin.c
parente9aa4ea0845b2e387a6512402d73fbc31b7bd393 (diff)
downloadprofani-tty-a849b200b368a74da18291e875b3e6d37ea729f2.tar.gz
Added win_clear() function
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;
 }