Description
In 1.12.2 and older versions, pressing any combination of ctrl + a letter (e.g. ^A) sends the corresponding ANSI control character in the char field of the resulting key_down signal. For example, ^D sends 4. The 1.21.1 port no longer has this behavior, which breaks existing programs (ULOS2's VT100 emulator, for example).
Versions
- Minecraft version: 1.21.1
- NeoForge version: 21.1.248
- OpenComputers version: dafb46e
- Java version: 21.0.7
Environment
- Operating system: Linux
- Single-player or server: Single-player
- Other mods installed: None
Steps to reproduce
- Boot OpenOS and run
dmesg.
- Press
ctrl-D.
- Observe that in 1.12.2, the fourth field is
4, while in 1.21.1, it is 0.
Expected behavior
This should be consistent across Minecraft versions.
Actual behavior
The char field is 0 for these events
Description
In 1.12.2 and older versions, pressing any combination of
ctrl+ a letter (e.g.^A) sends the corresponding ANSI control character in thecharfield of the resultingkey_downsignal. For example,^Dsends4. The 1.21.1 port no longer has this behavior, which breaks existing programs (ULOS2's VT100 emulator, for example).Versions
Environment
Steps to reproduce
dmesg.ctrl-D.4, while in 1.21.1, it is0.Expected behavior
This should be consistent across Minecraft versions.
Actual behavior
The
charfield is0for these events