Hi Thomas, thanks for the hint!

layout-custom.c reveals a lot of things, I am now imagining that if I can
properly replicate the computation of the layout string along with the
checksum then I'll actually be able to do processing independent of
mutating the pane sizes within tmux, so that i can e.g. resize a particular
pane to make it bigger and then apply that change in one fell swoop by
feeding a brand new layout string.

I just wanted to know if this is actually how you have designed the
"select-layout" command to work.

I was taking a quick look at the source code (just poking around on github)
but it's strange that I cannot find the actual declaration for "struct
layout_cell"...

On Sat Jul 27 2013 at 7:28:43 AM Thomas Adam <tho...@xteddy.org> wrote:

> On 15 July 2013 23:06, Steven Lu <stevenlu...@gmail.com> wrote:
> > 3: zsh  (1 panes) [274x76] [layout cc63,274x76,0,0,6] @3
> > 4: zsh  (1 panes) [274x76] [layout cc65,274x76,0,0,8] @4
> >
> > I'm hoping someone in the know could give me some hints about how to
> parse
> > this so that I can compute what the result would be to warp any pane to
> one
> > of the directions.
>
> You need to look in layout-custom.c
>
> -- Thomas Adam
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to