linux: Fix `ctrl-0..9`, `ctrl-[`, `ctrl-^` (#35028)

There were two different underlying reasons for the issues with
ctrl-number and ctrl-punctuation:

1. Some keys in the ctrl-0..9 range send codes in the `\1b`..`\1f`
range. For example, `ctrl-2` sends keycode for `ctrl-[` (0x1b), but we
want to map it to `2`, not to `[`.

2. `ctrl-[` and four other ctrl-punctuation were incorrectly mapped,
since the expected conversion is by adding 0x40

Closes #35012

Release Notes:

- N/A
0af690080bOleksiy Syvokon committed on 7/24/2025, 12:22:57 PM· committed by GitHubparentdd52fb5
1 file changedLine totals unavailable