You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What Operating System(s) are you seeing this problem on?
macOS
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20230125-180646-f15bb186
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
Including #panes in the tab title in format-tab-title shows 1 when a pane is zoomed. I would think that panes contains all of the panes, even if one is zoomed.
If this is the intended behavior, it'd be nice if 1) the docs could mention this, and 2) TabInformation could expose the total number of panes, even if one is zoomed
To Reproduce
With the below configuration, the tab shows 1 when a pane is zoomed
wezterm.on( 'format-tab-title', function(tab, tabs, panes, config, hover, max_width)
localmux_tab=wezterm.mux.get_tab(tab.tab_id)
localtab_panes=mux_tab:panes()
-- `#tab_panes` is number of total panes per tabif#tab_panes>1then-- do needed logic.endend
wezterm.on( 'format-tab-title', function(tab, tabs, panes, config, hover, max_width)
localmux_tab=wezterm.mux.get_tab(tab.tab_id)
localtab_panes=mux_tab:panes()
-- `#tab_panes` is number of total panes per tabif#tab_panes>1then-- do needed logic.endend
What Operating System(s) are you seeing this problem on?
macOS
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20230125-180646-f15bb186
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
Including
#panes
in the tab title informat-tab-title
shows1
when a pane is zoomed. I would think thatpanes
contains all of the panes, even if one is zoomed.If this is the intended behavior, it'd be nice if 1) the docs could mention this, and 2)
TabInformation
could expose the total number of panes, even if one is zoomedTo Reproduce
With the below configuration, the tab shows
1
when a pane is zoomedConfiguration
Expected Behavior
No response
Logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: