fix(tui): flatten autocomplete descriptions (#44261)

This commit is contained in:
opencode-agent[bot] 2026-08-23 05:15:35 +05:30 committed by GitHub
parent b190b778d4
commit 55f490b898
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -956,7 +956,7 @@ export function Autocomplete(props: {
fg={index === store.selected ? theme.text.action.primary.focused : theme.text.subdued}
wrapMode="none"
>
{" " + option().description?.trimStart()}
{" " + option().description?.replace(/\s+/g, " ").trim()}
</text>
</Show>
</box>