in case they have args

This commit is contained in:
Chris Wanstrath 2025-10-07 20:48:40 -07:00
parent 8075facfa3
commit 37d2d9d700

View File

@ -16,7 +16,7 @@ function handleCompletion(e: KeyboardEvent) {
for (const command of Object.keys(commands)) { for (const command of Object.keys(commands)) {
if (command.startsWith(input)) { if (command.startsWith(input)) {
cmdInput.value = command cmdInput.value = command + " "
return return
} }
} }