On US layout keyboard, press Shift + a then Shift + /
See the difference in below table
Key
Windows
Linux
Shift + a
Char('A') + SHIFT
Char('A') + SHIFT
Shift + /
Char('?') + SHIFT
Char('?') + 0x0
Expected behavior
I expect that the same key press will produce the same key event regardless of OS
I expect in the case of Linux, when pressing Shift + key, the behavior is consistent. You can see in the table above, I got a SHIFT with Shift + a but I got 0x0 with Shift + /.
Describe the bug Inconsistent key event of "shifted" characters between Windows and Linux
To Reproduce Steps to reproduce the behavior:
Shift + a
thenShift + /
Expected behavior
Shift + a
but I got 0x0 withShift + /
.OS Windows and Kali Linux
Terminal/Console