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) {
base.txz is similarly fetched for FreeBSD. Since this isn't ideal, I'll look into whether these man pages are intended to be in baseXX.tgz or not. If not, I'll see about changing this upstream, and this patch can be reverted. [1] Lines 2876-2931: https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib/sets/lists/base/mi?annotate=1.1065 2022-05-08Update to OpenBSD 7.1 2062.73June McEnroe 2021-10-15Update to OpenBSD 7.0 2062.63June McEnroe 2021-08-29Update to Linux man-pages 5.13 2062.53Štěpán Němec 2021-08-26Update to NetBSD 9.2 2062.52June McEnroe 2021-08-26Support DESTDIR in install/uninstallJune McEnroe 2021-08-26Add version number generatorJune McEnroe 2021-08-22Add ISC license headerJune McEnroe 2021-08-22Update to Linux man-pages 5.12Štěpán Němec 2021-06-21Add manuals for macOS 11.3June McEnroe 2021-05-08Update to OpenBSD 6.9June McEnroe 2021-04-26Update to Linux man-pages 5.11June McEnroe 2021-04-26Update to FreeBSD 13.0June McEnroe 2021-01-27Completely rewrite how manuals are fetched and installedJune McEnroe Also add section 6 manuals from NetBSD and OpenBSD! 2020-12-14Update to man-pages-posix 2017-aJune McEnroe 2020-12-14Update to OpenBSD 6.8June McEnroe 2020-12-14Update to NetBSD 9.1June McEnroe 2020-12-14Update to man-pages 5.09June McEnroe 2020-12-14Update to FreeBSD 12.2June McEnroe 2020-06-08Update to OpenBSD 6.7June McEnroe 2020-05-04Add hack for macOS to search extra man sectionsJune McEnroe 2020-05-04Don't clear MANSECTJune McEnroe