about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-07-19 00:39:49 +0100
committerJames Booth <boothj5@gmail.com>2014-07-19 00:39:49 +0100
commit191b910d6e9358aca25f5b1b36983f2128743680 (patch)
tree26fc064fdb9a2ad4cb9f8ed5024fb24c0b2f44b0 /src/ui
parentbf62d8bd65302df5fbf02f66297f35e5732a0e2d (diff)
downloadprofani-tty-191b910d6e9358aca25f5b1b36983f2128743680.tar.gz
Erase stdscr before resizing
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 6bb68ff4..931fedd4 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -190,6 +190,8 @@ static void
 _ui_resize(const int ch, const char * const input, const int size)
 {
     log_info("Resizing UI");
+    erase();
+    refresh();
     title_bar_resize();
     wins_resize_all();
     status_bar_resize();