summary refs log tree commit diff
diff options
context:
space:
mode:
authorCurtis McEnroe2019-01-26 02:50:59 -0500
committerCurtis McEnroe2019-01-26 02:50:59 -0500
commit0a417e28e217f9a4270070d9fed31c259f3094e5 (patch)
tree7cdb4c2f9d67a9e7496c2269c3170c24e1e4a3fc
parentcc30e13e9fa484929d58c344a1fa0a5b7e37241b (diff)
Draw UI before connecting
Otherwise the "Traveling" message isn't visible while connecting.
-rw-r--r--event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/event.c b/event.c
index c324a65..39886b8 100644
--- a/event.c
+++ b/event.c
@@ -127,6 +127,7 @@ noreturn void eventLoop(void) {
 	assert(!(curses.sa_flags & SA_SIGINFO));
 
 	uiFmt(TagStatus, UICold, "Traveling to %s...", self.host);
+	uiDraw();
 	int irc = ircConnect();
 
 	for (;;) {