summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-12-03 15:52:04 -0500
committerJune McEnroe <june@causal.agency>2018-12-03 15:52:04 -0500
commit7ea54828a61f3a3bd96050e5cbd67c9d943bae31 (patch)
tree0397902499ab53ced438a8941dddb0c6b1d85b12
parentCheck nick to determine if is self (diff)
downloadcatgirl-7ea54828a61f3a3bd96050e5cbd67c9d943bae31.tar.gz
catgirl-7ea54828a61f3a3bd96050e5cbd67c9d943bae31.zip
Call uiShow at init so that TermFocus gets set
Diffstat (limited to '')
-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) {