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