Draw UI before connecting

Otherwise the "Traveling" message isn't visible while connecting.
master
Curtis McEnroe 2019-01-26 02:50:59 -05:00
parent cc30e13e9f
commit 0a417e28e2
No known key found for this signature in database
GPG Key ID: CEA2F97ADCFCD77C
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ noreturn void eventLoop(void) {
assert(!(curses.sa_flags & SA_SIGINFO)); assert(!(curses.sa_flags & SA_SIGINFO));
uiFmt(TagStatus, UICold, "Traveling to %s...", self.host); uiFmt(TagStatus, UICold, "Traveling to %s...", self.host);
uiDraw();
int irc = ircConnect(); int irc = ircConnect();
for (;;) { for (;;) {