summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-04-19 18:41:26 -0400
committerJune McEnroe <june@causal.agency>2021-04-19 18:41:26 -0400
commita6b1913b342a83f32acbcc03ab71cb93ea89366e (patch)
tree3b071a121637af07e998235acfa0164e9d8691f3
parentOnly use cells for moveColumn (diff)
downloadplay-a6b1913b342a83f32acbcc03ab71cb93ea89366e.tar.gz
play-a6b1913b342a83f32acbcc03ab71cb93ea89366e.zip
Only print info atexit without -t
-rw-r--r--play.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.c b/play.c
index 345dcd1..0400b85 100644
--- a/play.c
+++ b/play.c
@@ -267,7 +267,6 @@ static void info(void) {
 
 int main(int argc, char *argv[]) {
 	setlocale(LC_CTYPE, "en_US.UTF-8");
-	atexit(info);
 
 	const char *path = NULL;
 	for (int opt; 0 < (opt = getopt(argc, argv, "t:"));) {
@@ -294,6 +293,7 @@ int main(int argc, char *argv[]) {
 		errx(EX_USAGE, "not a tty; use ssh -t");
 	}
 	curse();
+	atexit(info);
 
 	const struct Game *game = menu();
 	if (!game) return 0;
b42a8771fa7cdedf4f31a8d&follow=1'>Make sure new cap is actually larger than new lengthJune McEnroe 2022-02-20Remove unused mbs.len field from struct EditJune McEnroe 2022-02-19Remove unneeded includes in ui.cJune McEnroe 2022-02-19Reimplement tab completeJune McEnroe 2022-02-19Handle errors from editFn, etc.June McEnroe 2022-02-19Reimplement text macrosJune McEnroe 2022-02-19Factor out input handling to input.cJune McEnroe 2022-02-19Factor out window management to window.cJune McEnroe 2022-02-19Enable -Wmissing-prototypesJune McEnroe 2022-02-19Fix edit.[ch] license notice additional permissionsJune McEnroe 2022-02-19Run line editing testsJune McEnroe 2022-02-18Implement new line editing "library"June McEnroe 2022-02-18Simplify cursor positioning in inputJune McEnroe 2022-02-18Fix M-f orderingJune McEnroe 2022-02-12Move sandman build to scripts/MakefileJune McEnroe 2022-02-12Use compat_readpassphrase.c on LinuxJune McEnroe 2022-02-12Copy RPP defines from oconfigureJune McEnroe