about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-26 02:50:59 -0500
committerJune McEnroe <june@causal.agency>2019-01-26 02:50:59 -0500
commit0a417e28e217f9a4270070d9fed31c259f3094e5 (patch)
tree7cdb4c2f9d67a9e7496c2269c3170c24e1e4a3fc
parentAvoid unused variable warnings with getyx (diff)
downloadcatgirl-0a417e28e217f9a4270070d9fed31c259f3094e5.tar.gz
catgirl-0a417e28e217f9a4270070d9fed31c259f3094e5.zip
Draw UI before connecting
Otherwise the "Traveling" message isn't visible while connecting.
Diffstat (limited to '')
-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 (;;) {