mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Fixed: chatclient sample compilation
This commit is contained in:
parent
480c88ea2e
commit
b1854065cf
1 changed files with 3 additions and 3 deletions
|
@ -71,8 +71,8 @@ int getch()
|
|||
peek_character = -1;
|
||||
return ch;
|
||||
}
|
||||
if (read(STDIN_FILENO,&ch,1) != 1)
|
||||
nlwarning("Can't read keyboard");
|
||||
if (read(STDIN_FILENO,&ch,1) != 1) return ' ';
|
||||
|
||||
return ch;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue