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)
downloadtest-0a417e28e217f9a4270070d9fed31c259f3094e5.tar.gz
test-0a417e28e217f9a4270070d9fed31c259f3094e5.zip
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 (;;) {
an>Add PS0June McEnroe 2019-01-13Change default ENV from cashrc to env.shJune McEnroe 2019-01-13Use colours in cash promptsJune McEnroe 2019-01-12Set PSlit like NetBSD shJune McEnroe 2019-01-12Install gnupg2 from pkgsrc and symlink gpgJune McEnroe 2019-01-12Reference cash builtin man pages in cash.1 SEE ALSOJune McEnroe 2019-01-12Restore cash builtin man page datesJune McEnroe 2019-01-12Use local libeditJune McEnroe 2019-01-12Replace libedit MakefileJune McEnroe 2019-01-11Import /usr/src/lib/libedit from NetBSD 8.0June McEnroe 2019-01-11Add PSlit for prompt escapesJune McEnroe 2019-01-11Don't make depend automaticallyJune McEnroe