fix(tui): restrict command autocomplete to prompt start (#54857)

This commit is contained in:
OpeOginni
2026-10-12 19:39:16 +02:00
committed by GitHub
Unverified
parent 7bac892c73
commit 1c74b9f020
@@ -803,7 +803,7 @@ export function Autocomplete(props: {
if (offset === 0) return
const slash = slashTriggerIndex(value, offset)
if (slash !== undefined) {
if (slash === 0) {
show("command")
setStore("index", slash)
return