Reverting commit 1e80be48 because it is causing compile warnings.

modified:   src/nmstermio.c
This commit is contained in:
Brian Barto 2021-09-24 14:42:54 -04:00
parent cce1af14d0
commit 3237ac188b

View File

@ -296,7 +296,7 @@ static void nmstermio_set_terminal(int s) {
static int state = 1;
if (!isatty(STDIN_FILENO)) {
freopen("/dev/tty", "r", stdin);
stdin = freopen("/dev/tty", "r", stdin);
}
if (s == 0) {