Skip to content

Commit

Permalink
Merge pull request #175 from jrincayc/issue_172
Browse files Browse the repository at this point in the history
Don't handle control and alt commands in terminal.
  • Loading branch information
jrincayc authored Jan 11, 2024
2 parents fb44c49 + 71e8681 commit 2b161b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wxTerminal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1156,6 +1156,11 @@ extern "C" void do_keyact(int);
void
wxTerminal::OnChar(wxKeyEvent& event)
{
if(event.HasModifiers()) {
//If the key event has control or alt pressed, let something else handle it
event.Skip();
return;
}
ClearSelection();
int
keyCode = 0,
Expand Down

0 comments on commit 2b161b7

Please sign in to comment.