Add more ANSI keys to 'Key' enum? #1998
Replies: 3 comments 1 reply
-
This is a great suggestion For reference here is a list that appears in the And the winforms ( @BDisp can you see any issue with adding these to Keys enum? If yes then we should go through the list I linked and identify those that are consistently sent through the Terminal when pressed (e.g. in PowerShell, Bash etc). I did look to see if I could find a terminal spec (e.g. VT100) which lists all the supported normal keys but couldn't find one easily (I just kept running into docs on escape codes etc) and theres always peculiarities like ambigious codes. But for most of these punctuation keys it shouldn't be a problem. |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Someone please create an Issue to track this? |
Beta Was this translation helpful? Give feedback.
-
Is there plans to add more keys to the 'Key' enum such as comma, period, brackets, question mark, plus, minus, &c.?
I am working on a project where the key bindings are serialized to a file.
But since the enum doesn't define names for the above mentioned keys (and others), it just uses the int value instead.
It's more or less fine, but my hope was that the user could easily edit the file without having to know what int value to use.
Beta Was this translation helpful? Give feedback.
All reactions