Skip to content

Pass through moveFocus keys when the user has no panes #6219

@zadjii-msft

Description

@zadjii-msft

You know, you've just inspired an idea - if the user has no panes, then the Terminal could probably pass the Alt+Arrow through, similar to the way that Ctrl+C for copy sends a ^C when there's no text selected.

Originally posted by @zadjii-msft in #3729 (comment)

If the user only has one pane (the whole tab), then the moveFocus keybindings should probably set e.Handled(false), so the keys can fall through to the underlying command-line app. I'd bet that would mitigate the need for tmux users to unbind all the alt+arrow keys, since I doubt they're using our panes with tmux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalHelp WantedWe encourage anyone to jump in on these.Issue-TaskIt's a feature request, but it doesn't really need a major design.Product-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.good first issueThis is a fix that might be easier for someone to do as a first contribution

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions