From 4f1d0aada4758b254c976cb89499508a2bdbb2f3 Mon Sep 17 00:00:00 2001 From: Reimar Date: Mon, 13 Oct 2025 11:26:15 +0200 Subject: [PATCH] console clear shortcut --- src/console_input.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/console_input.js b/src/console_input.js index c3b1818..5ab088e 100644 --- a/src/console_input.js +++ b/src/console_input.js @@ -22,6 +22,12 @@ export class ConsoleInput { this.moveHistory(1); ev.preventDefault(); break; + case "l": + if (ev.ctrlKey) { + this.console.clear(); + ev.preventDefault(); + } + break; } }