Re: [PATCH] Restore zoom when selecting a previously zoomed pane

2013-12-10 Thread Nicholas Marriott
Well, we could add a format to say if the window was/is zoomed (#{pane_was_zoomed} maybe). Even a flag to selectp to do the behaviour you want (selectp -Z) might be okay. So if you want to add one or both of those? Cheers On Mon, Nov 25, 2013 at 11:14:54PM +0100, Maykel Moya wrote: On

Re: [PATCH] Restore zoom when selecting a previously zoomed pane

2013-11-25 Thread Maykel Moya
On 24/11/13 12:36, Nicholas Marriott wrote: Hi I tried this and honestly I don't like it, I think it is unexpected that if I do splitw and the pane unzooms it then zooms again when I select it. It's better for the pane not to secretly stay zoomed - it isn't so hard to zoom it again if

Re: [PATCH] Restore zoom when selecting a previously zoomed pane

2013-11-24 Thread Nicholas Marriott
Hi I tried this and honestly I don't like it, I think it is unexpected that if I do splitw and the pane unzooms it then zooms again when I select it. It's better for the pane not to secretly stay zoomed - it isn't so hard to zoom it again if that's what you want. On Sat, Nov 16, 2013 at

[PATCH] Restore zoom when selecting a previously zoomed pane

2013-11-16 Thread Maykel Moya
Signed-off-by: Maykel Moya mm...@mmoya.org --- cmd-resize-pane.c | 7 +-- cmd-select-pane.c | 10 -- tmux.h| 1 + 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/cmd-resize-pane.c b/cmd-resize-pane.c index d31f886..d8ee076 100644 --- a/cmd-resize-pane.c