---
** [tickets:#159] tmux list-windows looses layout information if pane is
maximized**
**Status:** open
**Created:** Tue Sep 30, 2014 09:25 AM UTC by Azrael3000
**Last Updated:** Tue Sep 30, 2014 09:25 AM UTC
**Owner:** nobody
Tmux-resurrect apparently has a problem with restoring the layout if a pane was
maximized. See the bug report here:
https://github.com/tmux-plugins/tmux-resurrect/issues/47
As tmux list-windows is used in that plugin the following output is from a
normal two plane window:
7: user@host:~* (2 panes) [211x61] [layout
e740,211x61,0,0[211x30,0,0,16,211x30,0,31,17]] @7 (active)
If one pane is maximized the output is:
7: user@host:~*Z (2 panes) [211x61] [layout 59e6,211x61,0,0,17] @7 (active)
This shows that while the Z flag is set, the layout is that of the single pane.
I understand why it is the case but it looses the information of the normal
window layout.
I suppose that it should be possible to keep the normal layout information so
that the maximized pane results in the following output:
7: user@host:~*Z (2 panes) [211x61] [layout
e740,211x61,0,0[211x30,0,0,16,211x30,0,31,17]] @7 (active)
i.e. just adds the Z flag. From the information of the active pane plus the
size of the window (the [211x61] data) the correct layout can be restored and
the pane will be maximized.
---
Sent from sourceforge.net because tmux-users@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/tmux/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/tmux/admin/tickets/options. Or, if this is a mailing
list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users