hide console by <C-[>
This commit is contained in:
parent
8cc7d472df
commit
57dba2d841
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,9 @@ export default class ConsoleComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
onKeyDown(e) {
|
onKeyDown(e) {
|
||||||
|
if (e.keyCode === KeyboardEvent.DOM_VK_ESCAPE && e.ctrlKey) {
|
||||||
|
return this.hideCommand();
|
||||||
|
}
|
||||||
switch (e.keyCode) {
|
switch (e.keyCode) {
|
||||||
case KeyboardEvent.DOM_VK_ESCAPE:
|
case KeyboardEvent.DOM_VK_ESCAPE:
|
||||||
return this.hideCommand();
|
return this.hideCommand();
|
||||||
|
|
Reference in a new issue