Hi Nicholas,

I wanted to reboot a machine where I had created a layout with
~10 panes inside a single window. So i dumped the layout with

  $ tmux display-message -p "#{window_layout}"

to a file and tried to restore it after the reboot.


It (read: I) failed a few times, as I did not split my window
into the correct number of panes before I tried to restore
the layout with

  $ tmux select-layout $layout


Would it be possible to extend the error message

  can't set layout: $layout

and mention, why that failed (not enough or to many panes)?

Or make select-layout create panes if necessary? But I'd be
more than happy to be told to increase/decrease the number
of panes myself.


I also tried to read the layout string but could not find
out how much panes were needed. The mentioned layout was:

ac67,319x81,0,0[319x41,0,0{206x41,0,0,0,72x41,207,0[72x20,
207,0,1,72x20,207,21,98],39x41,280,0,3},319x39,0,42{122x39,
0,42,4,124x39,123,42,9,35x39,248,42,8,35x39,284,42,7}]

Thomas

--
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/f1070f82-0818-a9e8-6544-9f66b2849093%40med.uni-frankfurt.de.

Reply via email to