Tmux mode-mouse - Unable to select text, it de-selects as soon as you let go of the mouse

2014-12-01 Thread Victor Hooi
Hi, I've recently found the tmux mode-mouse, which is pretty cool. On my OSX machine, this allows me to use scroll gestures to read back through the scrollback buffer. It's much easier than using Ctrl-B, [, then using the arrow keys to go back line by line. However, I've noticed that when mode-

Re: [PATCH 1/1] neww: Check indexes before window names

2014-12-01 Thread Thomas Adam
On 1 December 2014 at 23:57, Thomas Adam wrote: > In the case of creating a new window, tmux would end up checking the window > name > before the index. This is usually OK, save for the fact that if a window ever > has as its title, the same number as the index, then the check is in error. > > I

[PATCH 1/1] neww: Check indexes before window names

2014-12-01 Thread Thomas Adam
In the case of creating a new window, tmux would end up checking the window name before the index. This is usually OK, save for the fact that if a window ever has as its title, the same number as the index, then the check is in error. Instead, make cmd_lookup_index() check the index and then the

Re: [PATCH 1/2] Fix broken reflowing after insert/delete characters

2014-12-01 Thread Nicholas Marriott
I think this is alright, the calculations seem sensible anyway. On Sat, Nov 29, 2014 at 09:31:10PM +, Balazs Kezes wrote: > Disregard my previous patch, after a little bit of thinking I came up > with this: > > diff --git a/grid-view.c b/grid-view.c > index a34c5a0..0b890d8 100644 > --- a/gr

Re: [tmux:tickets] #170 window_zoomed_flag not working

2014-12-01 Thread Thomas Adam
Patch to fix this sent to the mailing list. -- Thomas Adam On 30 November 2014 at 20:16, rorytmux wrote: > > > [tickets:#170] window_zoomed_flag not working > > Status: open > Created: Sun Nov 30, 2014 08:16 PM UTC by rorytmux > Last Updated: Sun Nov 30, 2014 08:

[tmux:tickets] #170 window_zoomed_flag not working

2014-12-01 Thread rorytmux
--- ** [tickets:#170] window_zoomed_flag not working** **Status:** open **Created:** Sun Nov 30, 2014 08:16 PM UTC by rorytmux **Last Updated:** Sun Nov 30, 2014 08:16 PM UTC **Owner:** nobody I brought this up on the ticket where the flag was [added](https://sourceforge.net/p/tmux/tickets/1

[PATCH 1/1] window_zoomed_flag operates on window not pane

2014-12-01 Thread Thomas Adam
Don't test setting the WINDOW_ZOOM flag on a winlink, as it's set on the window. --- format.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/format.c b/format.c index e7fd3e1..47b8b79 100644 --- a/format.c +++ b/format.c @@ -471,6 +471,8 @@ format_window(struct format_tree