From: Andre Noll Date: Mon, 25 Mar 2013 02:14:06 +0000 (+0000) Subject: gui: Check stdin for readability. X-Git-Tag: v0.4.13~33^2~10 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=d7562ba640e30ac4bf1160509f4c2f705363d53f;hp=d7562ba640e30ac4bf1160509f4c2f705363d53f;p=paraslash.git 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. ---