Skip to content

Support for single-key hotkeys in confirmation and selection dialogs #1058

@orgoj

Description

@orgoj

What do you want to change?

I'd like to propose adding support for single-character hotkeys to the extension selection component.

Why?

I'm using pi inside tmux with tmuxx and need simple way to select Yes and No options.

How? (optional)

  • Update the extension API to allow optional hotkey mappings in dialog options.
  • Map y/n (case-insensitive) by default to all standard confirmation prompts.
  • Update ExtensionSelectorComponent to listen for these keys and show a hint in the UI footer (e.g., y/n next to navigate/select hints).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions