summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--play.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/play.c b/play.c
index e83ab7e..a9dcc34 100644
--- a/play.c
+++ b/play.c
@@ -248,7 +248,11 @@ int main(int argc, char *argv[]) {
 		return EX_OK;
 	}
 
+	if (!isatty(STDOUT_FILENO)) {
+		errx(EX_USAGE, "not a tty; use ssh -t");
+	}
 	curse();
+
 	const struct Game *game = menu();
 	if (!game) goto done;
 	erase();
21-07-08 16:02:18 -0400'>2021-07-08Use seprintf to build final 005June McEnroe 2021-06-19Fix LDADD.crypt on DarwinJune McEnroe 2021-06-18Add -m mode option to set user modesJune McEnroe 2021-06-18Document channel keys in join optionJune McEnroe 2021-06-18Use | to separate flags from config optionsJune McEnroe 2021-06-18Stop referring to server-time as IRCv3.2June McEnroe 2021-06-17Add mailing list archive to READMEJune McEnroe 2021-06-10Stop accumulating ISUPPORT tokens once MOTD startsJune McEnroe 2021-06-09Use seprintf for snip, removing strlcpynJune McEnroe 2021-06-09Use seprintf for reserializeJune McEnroe 2021-06-09Use seprintf for capListJune McEnroe 2021-06-09Add seprintfJune McEnroe 2021-05-27Add pounce-notify to README 2.4June McEnroe 2021-05-27Fix ENVIRONMENT formatting in pounce-notify(1)June McEnroe 2021-05-27Add note about Libera.Chat SASL-only rangesJune McEnroe 2021-05-25Add QUIRKS fileJune McEnroe 2021-05-19Replace freenode with tilde.chatJune McEnroe 2021-05-04notify: Reword pounce-notify manualJune McEnroe 2021-05-02Clean up Makefiles, configure scriptsJune McEnroe 2021-04-30palaver: Exit on getopt failureJune McEnroe 2021-04-30notify: Implement pounce-notifyJune McEnroe