terminal: fix condition (IDEA-CR-58492)

GitOrigin-RevId: 8c514b938445c2c7780780cfa2aadd4dd366d0f4
This commit is contained in:
Sergey Simonchik
2020-02-17 14:16:33 +00:00
committed by intellij-monorepo-bot
parent 85e1161f61
commit 5374f024ad
@@ -159,7 +159,7 @@ public class TerminalShellCommandHandlerHelper {
}
myAlarm.cancelAllRequests();
if ((keyPressed.getModifiers() & InputEvent.CTRL_MASK) != 0) {
if ((keyPressed.getModifiers() & InputEvent.CTRL_MASK) == 0) {
myWorkingDirectory = null;
return false;
}