diff options
author | James Booth <boothj5@gmail.com> | 2015-06-15 17:54:47 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-15 17:54:47 +0100 |
commit | a849b200b368a74da18291e875b3e6d37ea729f2 (patch) | |
tree | a205560ed6bac544e9eb070fc756a4945acd8ffc /src/ui/inputwin.c | |
parent | e9aa4ea0845b2e387a6512402d73fbc31b7bd393 (diff) | |
download | profani-tty-a849b200b368a74da18291e875b3e6d37ea729f2.tar.gz |
Added win_clear() function
Diffstat (limited to 'src/ui/inputwin.c')
-rw-r--r-- | src/ui/inputwin.c | 3 |
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; } |