diff options
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/components/Console.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/console/components/Console.tsx b/src/console/components/Console.tsx index 7da2f36..1743d15 100644 --- a/src/console/components/Console.tsx +++ b/src/console/components/Console.tsx @@ -72,6 +72,13 @@ class Console extends React.Component<Props> { break; case '[': if (e.ctrlKey) { + e.preventDefault(); + return this.props.dispatch(consoleActions.hideCommand()); + } + break; + case 'c': + if (e.ctrlKey) { + e.preventDefault(); return this.props.dispatch(consoleActions.hideCommand()); } break; |