aboutsummaryrefslogtreecommitdiff
path: root/src/console/components/Console.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/components/Console.tsx')
-rw-r--r--src/console/components/Console.tsx7
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;