Skip to content

Commit

Permalink
Merge pull request #3511 from BDisp/v1_3496-esc-key-onkeydown-unix-fix
Browse files Browse the repository at this point in the history
Fixes #3496. Escape Key not invoking OnKeyDown on Unix.
  • Loading branch information
tig authored May 29, 2024
2 parents c93afc7 + a423836 commit 881686b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ void ProcessInput ()
keyHandler (key);
} else {
k = Key.Esc;
keyDownHandler (new KeyEvent (k, MapKeyModifiers (k)));
keyHandler (new KeyEvent (k, MapKeyModifiers (k)));
}
} else if (wch == Curses.KeyTab) {
Expand Down

0 comments on commit 881686b

Please sign in to comment.