diff options
author | Rudolf Polzer <divverent@xonotic.org> | 2012-09-17 11:12:51 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-09-19 14:57:35 +0200 |
commit | a70adbfe655804008578c1a17ecddcd770e0cf7c (patch) | |
tree | 14e77443b0499dd909b7ad01ae889140ac7915e2 /sub/find_sub.c | |
parent | 020a954b60fccb15711d8e5b26a71e54bc6050c7 (diff) | |
download | mpv-a70adbfe655804008578c1a17ecddcd770e0cf7c.tar.bz2 mpv-a70adbfe655804008578c1a17ecddcd770e0cf7c.tar.xz |
getch2: request at least 1 byte of input each read
fixes issue with | less, where mplayer broke less's terminal
expectations and made less quit
Note this means that read() will be blocking again. Should be ok, as we
always check via select() before reading.
Diffstat (limited to 'sub/find_sub.c')
0 files changed, 0 insertions, 0 deletions