CodeWhale icon indicating copy to clipboard operation
CodeWhale copied to clipboard

type command with short /mo then enter should active first commad

Open melody0709 opened this issue 6 months ago • 2 comments

After typing /mo and pressing Enter, it directly outputs /mo instead of the default selection. This needs improvement.

like opencode ,/mo then enter will active first command ,slect command also active

Alternatives considered

Additional context

melody0709 avatar May 04 '26 08:05 melody0709

Fixed in PR #572 — when the slash popup has matches and you press Enter on a partial like /mo, the highlighted command (/model in this case) now runs instead of the literal /mo going through as a turn. Up/Down still cycle the popup, Esc still dismisses, and Enter on a non-slash line is unchanged.

Thanks for the report!

Hmbown avatar May 04 '26 09:05 Hmbown

Landed in PR #572 (merge commit 36acd1fa). /mo + Enter now activates the first slash-command match. Thanks again for the report.

Hmbown avatar May 04 '26 15:05 Hmbown