summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-12-03 15:52:04 -0500
committerJune McEnroe <june@causal.agency>2018-12-03 15:52:04 -0500
commit7ea54828a61f3a3bd96050e5cbd67c9d943bae31 (patch)
tree0397902499ab53ced438a8941dddb0c6b1d85b12
parentCheck nick to determine if is self (diff)
downloadcatgirl-7ea54828a61f3a3bd96050e5cbd67c9d943bae31.tar.gz
catgirl-7ea54828a61f3a3bd96050e5cbd67c9d943bae31.zip
Call uiShow at init so that TermFocus gets set
-rw-r--r--chat.c1
-rw-r--r--ui.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/chat.c b/chat.c
index 388a3ca..fede433 100644
--- a/chat.c
+++ b/chat.c
@@ -75,7 +75,6 @@ int main(int argc, char *argv[]) {
 
 	inputTab();
 	uiInit();
-	uiDraw();
 	ircInit();
 	eventLoop();
 }
diff --git a/ui.c b/ui.c
index 287fb5e..5a26aa2 100644
--- a/ui.c
+++ b/ui.c
@@ -109,6 +109,7 @@ void uiInit(void) {
 	nodelay(ui.input, true);
 
 	uiViewTag(TagStatus);
+	uiShow();
 }
 
 noreturn void uiExit(void) {
git-pink/commit/cache.c?id=43620cf6aa62decaf319d00c28297e3b87a4da78&follow=1'>cache.c: fix header orderJohn Keeping 2015-08-13configfile.c: don't include system headers directlyJohn Keeping 2015-08-13Remove redundant includesJohn Keeping 2015-08-13Makefile: include Git's config.mak.unameJohn Keeping 2015-08-13tests: allow shell to be overriddenJohn Keeping 2015-08-13redirect: cleanlinessJason A. Donenfeld 2015-08-13redirect: be more careful for different cgi setupsJason A. Donenfeld 2015-08-12ui-log: fix double countingJohn Keeping 2015-08-12log: allow users to follow a fileJohn Keeping 2015-08-12shared: make cgit_diff_tree_cb publicJohn Keeping 2015-08-12t0110: Chain together using &&Jason A. Donenfeld 2015-08-12about: always ensure page has a trailing slashJason A. Donenfeld 2015-08-12filters: apply HTML escapingLazaros Koromilas 2015-08-12git: update to v2.5.0Christian Hesse 2015-08-12Fix processing of repo.hide and repo.ignoreDaniel Reichelt