Skip to content

feat: wezterm pane focus support#54

Merged
mohak34 merged 2 commits into
mohak34:mainfrom
Shrub24:feat/wezterm-pane-focus-support
Mar 30, 2026
Merged

feat: wezterm pane focus support#54
mohak34 merged 2 commits into
mohak34:mainfrom
Shrub24:feat/wezterm-pane-focus-support

Conversation

@Shrub24

@Shrub24 Shrub24 commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

This pull request adds focus support for WezTerm panes, improving pane-aware focus detection and notification behavior when running in WezTerm. The main enhancements involve detecting the active WezTerm pane and only showing notifications when the user is not focused on the relevant pane, equivalent to the existing tmux pane focus functionality (though it is secondary functionality to window focus rather than replacement)

WezTerm pane support:

  • Updated isTerminalFocused to incorporate WezTerm pane focus checks, ensuring notifications are only shown when the relevant pane is not focused. (src/focus.ts).

Documentation:

  • Updated the README.md to mention WezTerm pane-aware focus suppression and how notifications behave when switching between WezTerm panes or tabs.

@Shrub24 Shrub24 marked this pull request as draft March 26, 2026 23:12
@mohak34

mohak34 commented Mar 27, 2026

Copy link
Copy Markdown
Owner

Hey @Shrub24, thanks for the PR, the feature implementation is fine. Could you resolve all the conflicts ?

@Shrub24 Shrub24 force-pushed the feat/wezterm-pane-focus-support branch from bd2076b to 108f215 Compare March 28, 2026 01:31
@Shrub24 Shrub24 marked this pull request as ready for review March 29, 2026 02:33
@mohak34 mohak34 merged commit e777315 into mohak34:main Mar 30, 2026
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