From d6638263a7823ca265eba84541307e74cc29899f Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Fri, 26 Sep 2025 21:14:44 -0700 Subject: [PATCH] output handles that --- app/src/js/shell.ts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/app/src/js/shell.ts b/app/src/js/shell.ts index b245654..8fea051 100644 --- a/app/src/js/shell.ts +++ b/app/src/js/shell.ts @@ -16,7 +16,7 @@ export function runCommand(input: string) { addToHistory(input) addInput(id, input) - const [cmd = "", ...args] = input.split(" ") + const [cmd = "", ..._args] = input.split(" ") if (browserCommands[cmd]) { const result = browserCommands[cmd]() @@ -76,12 +76,5 @@ function handleStreamReplace(msg: Message) { replaceOutput(msg.id!, msg.data as CommandOutput) } -function handleStreamEnd(msg: Message) { - const id = msg.id! - - const status = document.querySelector(`[data-id="${id}"].input .status`) - if (!status) return - - status.classList.remove("purple") - status.classList.remove("green") +function handleStreamEnd(_msg: Message) { } \ No newline at end of file