diff options
author | June McEnroe <june@causal.agency> | 2021-04-19 18:41:26 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-04-19 18:41:26 -0400 |
commit | a6b1913b342a83f32acbcc03ab71cb93ea89366e (patch) | |
tree | 3b071a121637af07e998235acfa0164e9d8691f3 | |
parent | Only use cells for moveColumn (diff) | |
download | play-a6b1913b342a83f32acbcc03ab71cb93ea89366e.tar.gz play-a6b1913b342a83f32acbcc03ab71cb93ea89366e.zip |
Only print info atexit without -t
Diffstat (limited to '')
-rw-r--r-- | play.c | 2 |
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; |