Skip to content

fix(tui): chain slash arg autocomplete after Tab completion#1481

Closed
barapa wants to merge 1 commit intobadlogic:mainfrom
barapa:fix/tui-slash-command-arg-chaining-1437
Closed

fix(tui): chain slash arg autocomplete after Tab completion#1481
barapa wants to merge 1 commit intobadlogic:mainfrom
barapa:fix/tui-slash-command-arg-chaining-1437

Conversation

@barapa
Copy link
Copy Markdown
Contributor

@barapa barapa commented Feb 12, 2026

Implements chaining into argument completions immediately after slash-command name completion via Tab.

  • After accepting /mod -> /model , the editor retriggers autocomplete once to show argument suggestions (if the command has an arg completer).
  • Keeps Enter/submit behavior unchanged.

Tests:

  • Added regression coverage for chaining into argument completions after Tab completion.
  • Verified no arg menu is shown for commands without argument completers.

Ref: closes #1442

@RimuruW
Copy link
Copy Markdown

RimuruW commented Feb 16, 2026

Wait for it!

@barapa
Copy link
Copy Markdown
Contributor Author

barapa commented Feb 17, 2026

Is this waiting for me to do anything? Or just for @badlogic

@nolanneff
Copy link
Copy Markdown

Is this waiting for me to do anything? Or just for @badlogic

Just waiting for @badlogic

@barapa
Copy link
Copy Markdown
Contributor Author

barapa commented Mar 3, 2026

@badlogic
Copy link
Copy Markdown
Owner

badlogic commented Mar 7, 2026

Sorry this took so long. You submitted it right at the start of the OSS vacation. Finally got time and it's great. So, thank you!

@badlogic badlogic closed this Mar 7, 2026
@badlogic
Copy link
Copy Markdown
Owner

badlogic commented Mar 7, 2026

Merged this manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Contribution proposal: chain slash command Tab completion into argument completions

4 participants