From 7c3b9b2e4b8b4cfe5088ed08713a5301099d635f Mon Sep 17 00:00:00 2001 From: lstratman Date: Wed, 29 May 2013 16:30:28 -0400 Subject: [PATCH] Fixed an issue with Shift+Tab tab completion code screwing up Shift+anything else key presses. --- lib/TerminalControl/Terminal/TerminalPane.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/TerminalControl/Terminal/TerminalPane.cs b/lib/TerminalControl/Terminal/TerminalPane.cs index 87856db..04a670d 100644 --- a/lib/TerminalControl/Terminal/TerminalPane.cs +++ b/lib/TerminalControl/Terminal/TerminalPane.cs @@ -737,7 +737,7 @@ private bool ProcessDialogKeyInNormalMode(Keys key, Keys keybody, Keys modifiers ProcessSequenceKey(modifiers, keybody); return true; } - else if (modifiers == Keys.Shift && (keybody & (Keys.Back | Keys.LButton)) == (Keys.Back | Keys.LButton) && SendShiftTab) + else if (modifiers == Keys.Shift && keybody == (Keys.Back | Keys.LButton) && SendShiftTab) { SendBytes(new byte[] { (byte)'\t' }); return true;