diff options
author | Martin Tournoij <martin@arp242.net> | 2021-07-13 14:34:32 +0800 |
---|---|---|
committer | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2021-07-13 12:12:56 +0300 |
commit | 854404a6395a5d9d2129f34c1f9bb6ec58c7425b (patch) | |
tree | a91b0ee3faba9b35e3e6b4375314057f66f25e5d /waftools/features.py | |
parent | f223edb6160eb9e54c81179bc7698e18da3cb2e7 (diff) | |
download | mpv-854404a6395a5d9d2129f34c1f9bb6ec58c7425b.tar.bz2 mpv-854404a6395a5d9d2129f34c1f9bb6ec58c7425b.tar.xz |
terminal-unix: fix ^Z identification
When using "stty susp ''" to disable sending the TSTP signal with ^Z,
mpv didn't recognize ^Z correctly in the terminal:
[input] No key binding found for key 'Ctrl+2'.
Because ASCII 26 (^Z) and above were incorrectly considered ^<NUMBER>.
This commit moves the cutoff between letters/numbers from 25 to 26 so
that ^Z is now detected correctly as ^<LETTER>.
Additionally, it rephrases the ^<NUMBER> formula for clarity.
Diffstat (limited to 'waftools/features.py')
0 files changed, 0 insertions, 0 deletions