Cancel follow mode and console by Ctrl-C

This commit is contained in:
Shin'ya Ueoka 2019-09-05 21:20:39 +09:00
parent 428805e66f
commit faba02ec21
2 changed files with 17 additions and 1 deletions

View file

@ -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;