summary refs log tree commit diff
diff options
context:
space:
mode:
authorCurtis McEnroe2018-12-03 15:52:04 -0500
committerCurtis McEnroe2018-12-03 15:52:04 -0500
commit7ea54828a61f3a3bd96050e5cbd67c9d943bae31 (patch)
tree0397902499ab53ced438a8941dddb0c6b1d85b12
parent7dab1c01f69fdf0bf9bd2918d9e955a1e7257d63 (diff)
Call uiShow at init so that TermFocus gets set
-rw-r--r--chat.c1
-rw-r--r--ui.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/chat.c b/chat.c
index 388a3ca..fede433 100644
--- a/chat.c
+++ b/chat.c
@@ -75,7 +75,6 @@ int main(int argc, char *argv[]) {
 
 	inputTab();
 	uiInit();
-	uiDraw();
 	ircInit();
 	eventLoop();
 }
diff --git a/ui.c b/ui.c
index 287fb5e..5a26aa2 100644
--- a/ui.c
+++ b/ui.c
@@ -109,6 +109,7 @@ void uiInit(void) {
 	nodelay(ui.input, true);
 
 	uiViewTag(TagStatus);
+	uiShow();
 }
 
 noreturn void uiExit(void) {