diff options
Diffstat (limited to 'lib/libmytinfo/tty.c')
-rw-r--r-- | lib/libmytinfo/tty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libmytinfo/tty.c b/lib/libmytinfo/tty.c index 640fb47..2ba2a7c 100644 --- a/lib/libmytinfo/tty.c +++ b/lib/libmytinfo/tty.c @@ -70,7 +70,7 @@ _lit_output() { if (tcgetattr(cur_term->fd, &old) == -1) return 0; #endif - if (!(old.c_oflag & OPOST) || !(old.c_oflag & ONLCR)) + if (!(old.c_oflag & OPOST) || !(old.c_oflag & ONLCR)) return 0; memcpy((anyptr)&tmp, (anyptr)&old, sizeof(old)); tmp.c_oflag &= ~OPOST; @@ -90,7 +90,7 @@ _norm_output() { tcsetattr(cur_term->fd, TCSADRAIN, &old); #endif } - + int _check_tty() { if ((cur_term->prog_mode.c_iflag & IXON) && cur_term->xon) @@ -245,7 +245,7 @@ _norm_output() { ioctl(cur_term->fd, TIOCSETP, &old); } -#endif +#endif int _check_tty() { |