-
Notifications
You must be signed in to change notification settings - Fork 695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WindowsDriver should return the mask keys to IsShift, IsAlt and IsCtrl return the right value. #3095
Comments
BDisp
added a commit
to BDisp/Terminal.Gui
that referenced
this issue
Dec 28, 2023
…ft, IsAlt and IsCtrl return the right value.
8 tasks
BDisp
added a commit
to BDisp/Terminal.Gui
that referenced
this issue
Dec 28, 2023
…ft, IsAlt and IsCtrl return the right value.
tig
added a commit
that referenced
this issue
Jan 4, 2024
…broken") (#3078) * Fixes #3054. VkeyPacketSimulator scenario is broken. * Fix some key handle and unit tests. * Remove unnecessary conditional. * Improves key handling. * Also allow map capslock to shift with accented characters. * Change to MemberData. * Remove unnecessary using. * Fix merge errors. * Fixes #3095. WindowsDriver should return the mask keys to IsShift, IsAlt and IsCtrl return the right value. * Modifiers keys are valid to be handled on key down and key up. * Map KeyCode.Enter to ConsoleKey.Enter and vice versa. * Updated ScanCodeMapping table with readable constants * Documented bugs * Implemented mapping using MapVirtualKeyEx * Implemented mapping using MapVirtualKeyEx * Changed KeyCode special keys to match ConsoleKey values + max unicode codepoint * Fixed bogus CollectionNavigator impl and tests * Nuked DeleteChar. renamed InsertChar to Insert * KeyCode.Enter = ConsoleKey.Enter, not \n * Code cleanup * Added diag for keyboard layout name * Fixed AltGr support (hopefully) * Simplified code * Simplified KeyCode by removing ShiftKeys * Fixed TextView * Code cleanup * Fixes cursesdriver (somewhat) * Code cleanup * netdriver wip * Fixed netdriver under WSL * Turned off debug spew * Removed old code --------- Co-authored-by: Tig Kindel <[email protected]> Co-authored-by: Tig Kindel <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If only the
ShiftKey
,AltKey
orCtrlKey
are used theKey.IsShift
,Key.IsAlt
orKey.IsCtrl
returns false and should return true.The text was updated successfully, but these errors were encountered: