Call uiShow at init so that TermFocus gets set

master
Curtis McEnroe 2018-12-03 15:52:04 -05:00
parent 7dab1c01f6
commit 7ea54828a6
No known key found for this signature in database
GPG Key ID: CEA2F97ADCFCD77C
2 changed files with 1 additions and 1 deletions

1
chat.c
View File

@ -75,7 +75,6 @@ int main(int argc, char *argv[]) {
inputTab(); inputTab();
uiInit(); uiInit();
uiDraw();
ircInit(); ircInit();
eventLoop(); eventLoop();
} }

1
ui.c
View File

@ -109,6 +109,7 @@ void uiInit(void) {
nodelay(ui.input, true); nodelay(ui.input, true);
uiViewTag(TagStatus); uiViewTag(TagStatus);
uiShow();
} }
noreturn void uiExit(void) { noreturn void uiExit(void) {