|
Navi Code TUI: interactive slash-command hints (Up/Down + Enter)
Make the inline command hints navigable: - Up/Down move a highlight through the matching commands (wraps around). - Enter while a hint is open runs the highlighted command (routed through UserSubmitted as /<name>, so the app's _run_command handles it — not sent to the agent). Enter with hints closed still submits the raw text. - Tab completes the input to the highlighted command's canonical name and stays in the field for typing args (was: always the first match). CommandHints stays a non-focusable Static (renders the highlighted line with reverse video); _PromptInput owns all key handling via a sibling reference. Co-Authored-By: Claude <noreply@anthropic.com> |
|---|
|
|
| clients/terminal/tui/widgets/command_hints.py |
|---|
| clients/terminal/tui/widgets/input_box.py |
|---|
| tests/clients/test_input_box.py |
|---|