https://bugs.winehq.org/show_bug.cgi?id=41368
Bug ID: 41368 Summary: Dynahack 0.6.0 in curses wineconsole cannot receive uppercase keyboard input Product: Wine Version: 1.9.18 Hardware: x86-64 URL: https://github.com/tung/DynaHack/releases/download/v0. 6.0/dynahack-0.6.0-1-win-x86.zip OS: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: 00cpxxx@gmail.com Distribution: Debian
Steps to reproduce: 1 - Download, unzip, cd to dynahack folder; 2 - Resize your console manually to 130x40; 2 - wine wineconsole --backend=curses dynahack.exe; 3 - Press n for new game, y for random character; 4 - Press caps lock and then any alphabet key or SHIFT+alphabet key.
No output or wrong output is printed. Keys attempted and resulted value:
Z, X, R, T, P, L, J, H, F, D => 0x60 A => 0x66
Other alphabet keys don't generate output.
The above output was debugged from [1] from values of cell[x].Char.UnicodeChar, also cell[x].Char.AsciiChar will have the same wrong values.
This issue does not happen in wineconsole with default backend.
Quitting the game requires a tutorial: ESC -> q -> yes -> <space> -> n -> n -> n -> <space> -> <space> -> <space> -> q
[1] https://source.winehq.org/source/programs/wineconsole/curses.c#0433