Skip to content

Pick new keybinding for Tree's toggle_expand_all since no terminal seems to support shift+space #5903

@RedBeard0531

Description

@RedBeard0531

Have you checked closed issues? (https://github.com/Textualize/textual/issues?q=is%3Aissue+is%3Aclosed)

Have you checked against the most recent version of Textual? (https://pypi.org/search/?q=textual)

Feature requests

Please post feature requests to Ideas. (https://github.com/Textualize/textual/discussions/categories/ideas)

The bug

Currently the tree code binds shift+space to toggle_expand_all:

Binding(
"shift+space", "toggle_expand_all", "Expand or collapse all", show=False
),

However, I could not find a single terminal where textual keys shows a different output when I press space vs shift+space, so that action is unreachable. Once #5902 is resolved, ctrl+space may be a better option.

(I don't think textual diagnose will be helpful here, but if you need it I can include it)

Metadata

Metadata

Assignees

No one assigned

    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