Delay user input whereever appropriate.

This commit is contained in:
Martin Mares 2000-05-29 22:16:04 +00:00
parent 4761efdb43
commit 9e85a5e6f2

View file

@ -307,6 +307,7 @@ io_loop(int mode)
server_reply = -1;
while (mode || server_reply < 0)
{
FD_ZERO(&select_fds);
FD_SET(server_fd, &select_fds);
if (mode)
FD_SET(0, &select_fds);