Skip to content

Feature Request: textual like Keyboard Binding #116

@hsqStephenZhang

Description

@hsqStephenZhang

Hi, I have written some examples like sidebar, vim-ilke autocomplete widget, and it's pretty convenient when the app is limited to one or several widgets, after that, the key binding is a problem. for example, we have to maintain a 'current widget' state and dispatch the keyboard event to it accordingly.
As i have talked before, more robust event system will definitely address it, but i also wonder if the key binding mechanism like textual is also a workable solution in terminal.
textual have default keyboard binding for each widget, and you can also customize your own. I know that by principle users can add it to their own projects, but is making it a builtin feature more user friendly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions