console clear shortcut
This commit is contained in:
parent
f42da20957
commit
4f1d0aada4
@ -22,6 +22,12 @@ export class ConsoleInput {
|
|||||||
this.moveHistory(1);
|
this.moveHistory(1);
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
break;
|
break;
|
||||||
|
case "l":
|
||||||
|
if (ev.ctrlKey) {
|
||||||
|
this.console.clear();
|
||||||
|
ev.preventDefault();
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user