wezterm
wezterm copied to clipboard
pane name [iterm2 badge]
Describe the solution you'd like if tab contains multi pane, maybe want add name for there pane

today, switch pane the tab name will change, it's cool
if impl iterm2 badge better
You don't want this anymore? I think it's quite nice
@bew still want it, but Placing it in a discussion board is more suitable for the point. here https://github.com/wez/wezterm/discussions/3383
FWIW, I prefer to track feature requests as enhancement issues, because the issue management interface cannot include discussions, so they effectively vanish when I'm triaging and reviewing the backlog.
Implementation wise, I think this would be done similarly to https://wezfurlong.org/wezterm/config/lua/window/set_right_status.html, but scoped to the pane instead of the window. https://wezfurlong.org/wezterm/config/lua/window-events/update-status.html could be used to determine when to call/update the pane status.
The pane status would always render over the top right of the pane, and there would be some config to set padding and margins, as well as the font and font size.
However, there is some conceptual overlap with:
- https://github.com/wez/wezterm/issues/1970
so it's worth also thinking a bit about that before sitting down to code anything around this
The pane status would always render over the top right of the pane
I'd have though to have the pane status/name be kind of behind the text, as some background info #user-specific-needs...
Implementation wise, I think this would be done similarly to https://wezfurlong.org/wezterm/config/lua/window/set_right_status.html, but scoped to the pane instead of the window. https://wezfurlong.org/wezterm/config/lua/window-events/update-status.html could be used to determine when to call/update the pane status.
The pane status would always render over the top right of the pane, and there would be some config to set padding and margins, as well as the font and font size.
However, there is some conceptual overlap with:
so it's worth also thinking a bit about that before sitting down to code anything around this
Yeah, it seems the right statue
to pane scope will be wonderful.
behind the text,
Because the pane renderer produces opaque renderings (by default, unless the user has taken care to render with opacity), that would require interleaving the display logic for the pane renderer with the status renderer to insert the status over the top of the terminal background painting stage, which would make both of those things more complex than they already are.
It is much much simpler to render the status over the top of the pane after the pane is drawn.
agree. standalone panel title would be great. When there is more than one panel, a panel title is a must, I often have 5-6 panes in a tmux window, and if I don't have a name for them, it's easy to forget what each panel does when I cut back from another tmux session. the current workload ”show pane name in tabbar“ has a flaws,you must click one pane,then could know his name.
I agree with @woodgear , it would be great if we could have a shortcut to show all pane id just on top of each panel, and press any key to make them disappear
Do we have any plan to add this feature ?
it would also work if we could just add an option of setting
show_pane_titles=true
while we have already show_pane_ids=true https://wezfurlong.org/wezterm/config/lua/keyassignment/PaneSelect.html it should be straight forward to add this feature.
also could we add PaneSelect to wezterm cli ? I want to call it from vim script.