mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
* Removed char->Key cast. Added Key(char) * Re-added char->key cast. Added unit tests * Fixed standard keys to always return new instead of being readonly * Re-fixed WindowsDriver to report shift/alt/ctrl as key/down/up * Re-fixed WindowsDriver to report shift/alt/ctrl as key/down/up * Adds string constructor to Key + tests. * Simplified Key json * Added string/Key cast operators.
This commit is contained in:
@@ -26,7 +26,7 @@ public class AppendAutocompleteTests {
|
||||
tf.PositionCursor ();
|
||||
TestHelpers.AssertDriverContentsAre ("", output);
|
||||
|
||||
tf.NewKeyDownEvent ('f');
|
||||
tf.NewKeyDownEvent (new ('f'));
|
||||
|
||||
tf.Draw ();
|
||||
tf.PositionCursor ();
|
||||
|
||||
Reference in New Issue
Block a user