Skip to content

Add support for floating pane#7550

Open
yasunogithub wants to merge 1 commit into
wezterm:mainfrom
yasunogithub:floating-pane
Open

Add support for floating pane#7550
yasunogithub wants to merge 1 commit into
wezterm:mainfrom
yasunogithub:floating-pane

Conversation

@yasunogithub

Copy link
Copy Markdown

Summary

This PR adds support for floating panes, similar to tmux's popup feature.

New Config Options

config.floating_pane_padding = {
  left = '20%', right = '20%', top = '20%', bottom = '20%'
}
config.floating_pane_border = {
  left_width = '0.5cell', right_width = '0.5cell',
  bottom_height = '0.25cell', top_height = '0.25cell',
  left_color = '#665c54', ...
}

New Key Assignments

Action Description
SpawnCommandInNewFloatingPane Create a new floating pane
ToggleFloatingPane Toggle visibility of floating pane

CLI Support

wezterm cli spawn --floating-pane

Changes

  • 27 files changed, ~1,300 lines added
  • Core logic in mux/src/tab.rs (TabInner with floating_panes support)
  • New MuxNotification variants for floating pane state changes
  • Rendering support with scrollbar handling
  • Multiplexer protocol support for remote sessions

Test Plan

  • Build succeeds: cargo build --release
  • Create floating pane with SpawnCommandInNewFloatingPane action
  • Toggle floating pane visibility with ToggleFloatingPane
  • wezterm cli list shows floating panes correctly
  • Multiplexer detach/reattach preserves floating pane state
  • CLI wezterm cli spawn --floating-pane works

🤖 Generated with Claude Code

Co-Authored-By: e82eric e82eric@users.noreply.github.com
Co-Authored-By: Quan Tong quantonganh@gmail.com

@e82eric

e82eric commented Feb 3, 2026

Copy link
Copy Markdown

@wez @bew , I am so sorry to bother you, this PR looks like a exact copy of my PR that removes me from the commit history.

I had originally closed my PR to wait for when activity picked up on the repository again. That might not have been the right strategy, I am happy to re-open the PR if that is preferred, either way works for me just let me know. Or if you or not interested in the PR or feel it adds too much complexity I am happy to leave it closed.

But either way I feel like this PR should be closed.

Sorry againf for bothering you.

@m0n99

m0n99 commented Feb 6, 2026

Copy link
Copy Markdown

@e82eric I’ve gone through your comments on quantonganh's PR, and you clearly seem annoyed. If this mattered that much to you, why not just keep your original PR open rather than close it and complicate things?

@abel-delafuente-easor

Copy link
Copy Markdown

I would love to see this merged and working 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Need Triage

Development

Successfully merging this pull request may close these issues.

add support for popup window

6 participants