Reverting commit 1e80be48
because it is causing compile warnings.
modified: src/nmstermio.c
This commit is contained in:
parent
cce1af14d0
commit
3237ac188b
@ -296,7 +296,7 @@ static void nmstermio_set_terminal(int s) {
|
|||||||
static int state = 1;
|
static int state = 1;
|
||||||
|
|
||||||
if (!isatty(STDIN_FILENO)) {
|
if (!isatty(STDIN_FILENO)) {
|
||||||
freopen("/dev/tty", "r", stdin);
|
stdin = freopen("/dev/tty", "r", stdin);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s == 0) {
|
if (s == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user