all kinds of updates

This commit is contained in:
Dan 2026-01-20 14:31:02 +00:00
parent 25815aa4d2
commit 5f2bbca38f
10 changed files with 792 additions and 216 deletions

View file

@ -18,7 +18,8 @@ class InputManager {
// Check if terminal input has text - if so, let user submit commands like "quit"
const terminalInput = document.getElementById("input");
const hasInputText = terminalInput && terminalInput.value.trim().length > 0;
const hasInputText =
terminalInput && terminalInput.value.trim().length > 0;
if (e.key === "ArrowUp") {
e.preventDefault();
@ -85,6 +86,7 @@ class InputManager {
if (prompt) {
this.adapter.print("");
this.adapter.printInfo("------------------");
this.adapter.printInfo(prompt);
}
this.adapter.print("");