early startup options could be run non-interactively
https://github.com/NetHack/NetHack/issues/1512 Closes #1512
This commit is contained in:
@@ -766,6 +766,8 @@ getret(void)
|
|||||||
#if defined(MICRO) || defined(WIN32CON)
|
#if defined(MICRO) || defined(WIN32CON)
|
||||||
getreturn("to continue");
|
getreturn("to continue");
|
||||||
#else
|
#else
|
||||||
|
if (!isatty(STDIN_FILENO))
|
||||||
|
return;
|
||||||
HUPSKIP();
|
HUPSKIP();
|
||||||
xputs("\n");
|
xputs("\n");
|
||||||
if (flags.standout)
|
if (flags.standout)
|
||||||
|
|||||||
Reference in New Issue
Block a user