Skip to content

Commit

Permalink
Fixes #2688. ReadOnly TextView's broken scrolling after version update.
Browse files Browse the repository at this point in the history
  • Loading branch information
BDisp authored and tig committed Jul 18, 2023
1 parent 4ec5255 commit cd119ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Terminal.Gui/ConsoleDrivers/WindowsDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ void ProcessInput (WindowsConsole.InputRecord inputEvent)
keyUpHandler (new KeyEvent (map, keyModifiers));
}
}
if (!inputEvent.KeyEvent.bKeyDown) {
if (!inputEvent.KeyEvent.bKeyDown && (inputEvent.KeyEvent.dwControlKeyState == 0 || inputEvent.KeyEvent.dwControlKeyState == WindowsConsole.ControlKeyState.EnhancedKey)) {
keyModifiers = null;
}
break;
Expand Down

0 comments on commit cd119ea

Please sign in to comment.