From 7ea54828a61f3a3bd96050e5cbd67c9d943bae31 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 3 Dec 2018 15:52:04 -0500 Subject: Call uiShow at init so that TermFocus gets set --- chat.c | 1 - ui.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit 1.4.1-2-gfad0