Skip to content

Commit e465a82

Browse files
committed
Update input.cpp
1 parent a914ea4 commit e465a82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/input.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,7 @@ bool Input::file_ready()
10351035
fd_set rfds, efds;
10361036
FD_ZERO(&rfds);
10371037
FD_ZERO(&efds);
1038+
FD_SET(0, &rfds);
10381039
FD_SET(0, &efds);
10391040
tv.tv_sec = 1;
10401041
tv.tv_usec = 0;

0 commit comments

Comments
 (0)