diff options
author | June McEnroe <june@causal.agency> | 2018-12-03 15:52:04 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-12-03 15:52:04 -0500 |
commit | 7ea54828a61f3a3bd96050e5cbd67c9d943bae31 (patch) | |
tree | 0397902499ab53ced438a8941dddb0c6b1d85b12 | |
parent | Check nick to determine if is self (diff) | |
download | test-7ea54828a61f3a3bd96050e5cbd67c9d943bae31.tar.gz test-7ea54828a61f3a3bd96050e5cbd67c9d943bae31.zip |
Call uiShow at init so that TermFocus gets set
-rw-r--r-- | chat.c | 1 | ||||
-rw-r--r-- | ui.c | 1 |
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) { |