Closed Compositr closed 1 year ago
I experienced this while trying to make my own input box. I figured out that key.sequence was the correct value to add rather than key.name (which is undefined for special characters)
These lines of code in particular need key.name to be changed to key.sequence src/components/widgets/InputPopup.ts
tmp += key.name
this.value = tmp
Working example:
Code:
What happened?
When I tried to type an & sign, it just inputted "undefined"![image](https://github.com/Elius94/console-gui-tools/assets/43405050/e4c95f98-6f5d-4f0e-b610-897ae9611426)
I typed the following:
test&123
Uppercase does not work either (shift key doesn't work)
What should have happened?
I would expect the popup input to handle special characters (e.g. "&") properly
Code
Library Version
3.0.3
Node Version
18.12.1
What operating system are you using?
Other Linux
Terminal
KDE Konsole on Arch
Interest to fix the bug