style
This commit is contained in:
1 parent
cb8bb8d520
commit
2597c7576e
50 files changed
+135
-99
No files matched your search
@@ -73,6 +73,7 @@ int kbd_enter_pressed(void) {
|
||||
c = getchar();
|
||||
ret |= c == '\n';
|
||||
} while (c != EOF);
|
||||
|
||||
//blocking
|
||||
flags &= ~O_NONBLOCK;
|
||||
if (fcntl(STDIN_FILENO, F_SETFL, flags) < 0) {
|
||||
|
||||
Reference in new issue
Block a user