mirror of
https://github.com/mpv-player/mpv
synced 2024-10-02 16:25:33 +02:00
getch2: fix compilation
This commit is contained in:
parent
3bddc16431
commit
ca039d42bb
@ -390,7 +390,7 @@ bool getch2(struct input_ctx *input_ctx)
|
||||
case 0x1b: /* ESC that's not part of escape sequence */
|
||||
mp_input_put_key(input_ctx, MP_KEY_ESC);
|
||||
if (getch2_len > 1 && getch2_buf[1] == 0x1b)
|
||||
walk_buf(1) /* eat the second ESC if it was typed twice */
|
||||
walk_buf(1); /* eat the second ESC if it was typed twice */
|
||||
break;
|
||||
default:
|
||||
mp_input_put_key(input_ctx, c);
|
||||
|
Loading…
Reference in New Issue
Block a user