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