diff options
Diffstat (limited to 'warp/term.h')
-rw-r--r-- | warp/term.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/warp/term.h b/warp/term.h index 3798a24c..362f6aeb 100644 --- a/warp/term.h +++ b/warp/term.h @@ -3,13 +3,13 @@ /* Log: term.h,v * Revision 7.0.1.2 86/12/12 17:05:15 lwall * Baseline for net release. - * + * * Revision 7.0.1.1 86/10/16 10:53:33 lwall * Added Damage. Fixed random bugs. - * + * * Revision 7.0 86/10/08 15:14:07 lwall * Split into separate files. Added amoebas and pirates. - * + * */ #ifndef TERM_H @@ -201,7 +201,7 @@ EXT bool bizarre INIT(false); /* do we need to restore terminal? */ /* terminal mode diddling routines */ #if defined(TERMIO) || defined(TERMIOS) - + #define raw() ((bizarre=1),_tty.c_lflag &=~ISIG,_tty.c_cc[VMIN] = 1,tcsetattr(_tty_ch,TCSAFLUSH,&_tty)) #define noraw() ((bizarre=1),_tty.c_lflag |= ISIG,_tty.c_cc[VEOF] = CEOF,tcsetattr(_tty_ch,TCSAFLUSH,&_tty)) #define crmode() ((bizarre=1),_tty.c_lflag &=~ICANON,_tty.c_cc[VMIN] = 1,tcsetattr(_tty_ch,TCSAFLUSH,&_tty)) |