Skip to content

Commit

Permalink
Reverting commit 1e80be4 because it is causing compile warnings.
Browse files Browse the repository at this point in the history
	modified:   src/nmstermio.c
  • Loading branch information
bartobri committed Sep 24, 2021
1 parent cce1af1 commit 3237ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nmstermio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3237ac1

Please sign in to comment.