diff --git a/src/js/shell.ts b/src/js/shell.ts index f34c80a..5790d44 100644 --- a/src/js/shell.ts +++ b/src/js/shell.ts @@ -9,6 +9,8 @@ import { addToHistory } from "./history.js" import { browserCommands, cacheCommands } from "./commands.js" export function runCommand(input: string) { + if (!input.trim()) return + const id = randomID() addToHistory(input)