Placate the Sun monster.
This commit is contained in:
parent
13afc7e57c
commit
5241ed2bc2
4 changed files with 26 additions and 6 deletions
|
|
@ -67,7 +67,7 @@ isecho(int fd)
|
|||
if(debug) fprint(2, "israw %c%c\n",
|
||||
ttmode.c_lflag&ICANON ? 'c' : '-',
|
||||
ttmode.c_lflag&ECHO ? 'e' : '-');
|
||||
return (ttmode.c_lflag&(ICANON|ECHO));
|
||||
return (ttmode.c_lflag&ICANON && ttmode.c_lflags&ECHO);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue