mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-25 06:22:05 +00:00
fix(tui): flatten autocomplete descriptions (#44261)
This commit is contained in:
parent
b190b778d4
commit
55f490b898
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue