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 (;;) {
tle='2022-06-02 23:17:38 -0400'>2022-06-02Set TABSIZE=4June McEnroe 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe