Skip to content

fix(mux): Let wezterm pass keys if the active tab has only one pane #320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 1, 2025

Conversation

00sapo
Copy link
Contributor

@00sapo 00sapo commented May 1, 2025

This is a typical situation if one is using tmux inside weterm. It could be possible to detect tmux by using Pane:get_foreground_process_name(), but it wouldn't work when using tmux in remote ssh connection (which is the main reason of this modification, since it's uncommon to run tmux inside wezterm locally)

00sapo added 2 commits May 1, 2025 17:02
This is a typical situation if one is using tmux inside weterm. It could be possible to detect tmux by using `Pane:get_foreground_process_name()`, but it wouldn't work when using tmux in remote ssh connection (which is the main reason of this modification, since it's uncommon to run tmux inside wezterm locally)
@mrjones2014 mrjones2014 changed the title Let wezterm pass keys if the active tab has only one pane fix(mux): Let wezterm pass keys if the active tab has only one pane May 1, 2025
mrjones2014
mrjones2014 previously approved these changes May 1, 2025
Copy link
Owner

@mrjones2014 mrjones2014 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 thanks for contributing 🏅

@mrjones2014 mrjones2014 merged commit 184985c into mrjones2014:master May 1, 2025
2 checks passed
@00sapo 00sapo deleted the patch-1 branch May 1, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants