Skip to content

Commit

Permalink
Eat all tap keypresses no matter what. (#985)
Browse files Browse the repository at this point in the history
Fixes #744
  • Loading branch information
zadjii-msft committed May 24, 2019
1 parent ce0eaab commit 0f62ec8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/cascadia/TerminalControl/TermControl.cpp
Expand Up @@ -552,6 +552,14 @@ namespace winrt::Microsoft::Terminal::TerminalControl::implementation
}
}

// Manually prevent keyboard navigation with tab. We want to send tab to
// the terminal, and we don't want to be able to escape focus of the
// control with tab.
if (e.OriginalKey() == VirtualKey::Tab)
{
handled = true;
}

e.Handled(handled);
}

Expand Down

0 comments on commit 0f62ec8

Please sign in to comment.