mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Added class KeyModifiers which improvements better control over the combinations keys.
This commit is contained in:
@@ -469,7 +469,8 @@ static class Demo {
|
||||
if ((keyEvent.Key & Key.AltMask) != 0)
|
||||
msg += "Alt ";
|
||||
msg += $"{(((uint)keyEvent.KeyValue & (uint)Key.CharMask) > 26 ? $"{(char)keyEvent.KeyValue}" : $"{keyEvent.Key}")}";
|
||||
list.Add (msg);
|
||||
//list.Add (msg);
|
||||
list.Add (keyEvent.ToString ());
|
||||
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user