easy there
This commit is contained in:
parent
b1570a1ea1
commit
b14d7e0993
|
|
@ -9,6 +9,8 @@ import { addToHistory } from "./history.js"
|
||||||
import { browserCommands, cacheCommands } from "./commands.js"
|
import { browserCommands, cacheCommands } from "./commands.js"
|
||||||
|
|
||||||
export function runCommand(input: string) {
|
export function runCommand(input: string) {
|
||||||
|
if (!input.trim()) return
|
||||||
|
|
||||||
const id = randomID()
|
const id = randomID()
|
||||||
|
|
||||||
addToHistory(input)
|
addToHistory(input)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user