path: root/stream/stream_file.c
diff options
authorJames Ross-Gowan <>2016-10-13 22:40:12 +1100
committerJames Ross-Gowan <>2016-10-14 08:44:33 +1100
commit0af8811b15f25304ef04013b630ac324011144c0 (patch)
treeb51ec3f2f2e2ca653c6b546f9f45000238cfc272 /stream/stream_file.c
parent6a8d1cdd49ca6c9d4656b9450253c71438ef5c49 (diff)
terminal-win: support modifier keys in console input
Keyboard input in the console still isn't quite as flexible as it is in the video window. Ctrl+<letter> and Ctrl+LEFT/RIGHT work, but Ctrl+Alt+<letter> and Ctrl+<number> do not. Also, in the new Windows 10 console, a bunch of Ctrl keystrokes including Ctrl+UP/DOWN are handled by the console window and not passed to the application. Unlike in w32_common.c, we can't really translate keyboaard input ourselves because the keyboard layout of the console window (in conhost.exe) doesn't necessarily match the keyboard layout of mpv's console input thread, however, using ToUnicode as a fallback when the console doesn't return a unicode value could be a possible future improvement. Fixes #3625
Diffstat (limited to 'stream/stream_file.c')
0 files changed, 0 insertions, 0 deletions