Skip to content

[FEATURE]: Make the model and variant labels in the TUI prompt footer clickable #48563

Open

Description

@rldona

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Make the model and variant (reasoning effort) labels in the TUI prompt footer clickable.

In the prompt footer (Build · DeepSeek V4.1 Flash DeepSeek · high), the variant label (high) is display-only. Today the only ways to change it are ctrl+t (variant_cycle) or binding variant_list, which has no default key. Mouse users have no way to change the variant, and new users don't find out that it can be changed at all.

Proposal

  • Single click on the variant label → cycle to the next variant (same as variant_cycle / ctrl+t).
  • Double click on the variant label → open the variant picker dialog (same as variant_list).

Implementation note

A terminal double click arrives as two separate clicks, so a naive implementation would cycle twice and then open the list. The single-click action would have to be deferred for a short window (~300 ms) until it's clear no second click is coming. If that delay feels too laggy, this alternative avoids the conflict:

  • Left click → cycle the variant
  • Right click (or shift+click) → open the variant list

The change looks small. In packages/tui/src/component/prompt/index.tsx, the variant <text> inside <Show when={showVariant()}> could get an onMouseUp handler that dispatches the existing commands, e.g. keymap.dispatchCommand("variant.list"). Both commands already exist, so no new logic is needed.

Model name

  • Click on the current model name → open the model picker (same as model_list / <leader>m).

This uses the existing model.list command, so it's the same one-line onMouseUp change on the model <text> in the same component.

Activity

  1. changed the title [-][FEATURE]: Make the model variant (reasoning effort) label in the TUI prompt footer clickable[/-] [+][FEATURE]: Make the model and variant labels in the TUI prompt footer clickable[/+] on Sep 11, 2026
  2. Nowaker commented on Oct 8, 2026

    @Nowaker

    I opened #53871, which makes the model and variant labels below the prompt clickable: the model opens the model picker and the variant opens the variant picker. The agent name and the ctrl+p commands hint are clickable too. It targets v1 dev, so it may be closed there, but the branch stays usable for anyone running v1.

  3. gaojunran commented on Oct 15, 2026

    @gaojunran
  4. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    Thanks for the detailed proposal, @rldona!

    To restate it: you'd like the model and variant labels in the TUI prompt footer to be clickable. Clicking the variant would cycle it (like ctrl+t), a double click or right click would open the variant list, and clicking the model name would open the model picker. That would let mouse users change both, and make it easier for new users to find out they can.

    Right now those labels are display-only. Plugins can't make them clickable either, because the model/variant row isn't one of the footer's plugin slots. The maintainers will consider this request.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions