]> git.tue.mpg.de Git - paraslash.git/commit
gui: Check stdin for readability.
authorAndre Noll <maan@systemlinux.org>
Mon, 25 Mar 2013 02:14:06 +0000 (02:14 +0000)
committerAndre Noll <maan@systemlinux.org>
Thu, 2 May 2013 17:56:08 +0000 (19:56 +0200)
commitd7562ba640e30ac4bf1160509f4c2f705363d53f
treec3264aa2d04d928a8d8def4d74f381c130b34711
parenta44fa6f118540d47cc575cbc62d22a6e4bb784e9
gui: Check stdin for readability.

If the select_loop of para_gui runs in getch or command mode we
currently wait a full timeout period before checking for pending
input.

This patch adds stdin to the set of file descriptors monitored by
select so that a key press causes select() to return immediately.
gui.c