Skip to content

Commit

Permalink
Fixes gui-cs#2688. ReadOnly TextView's broken scrolling after version…
Browse files Browse the repository at this point in the history
… update.
  • Loading branch information
BDisp committed Jul 18, 2023
1 parent 4ec5255 commit 9e2e8e1
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 9e2e8e1

Please sign in to comment.