On Tuesday 18 Feb 2014 11:55:27 Thomas Adam wrote:
> On 18 February 2014 11:36, Marcel Partap <mpar...@gmx.net> wrote:
> > Hi,
> > please comment on this.
> 
> What are you asking for here?  Whether it's a good idea to have this
> in tmux, or were you after something else?  I personally think these
> sorts of things are bloat.

I'm very excited about this; thanks for doing the work. FYI, Nicholas put this 
on the TODO 
list in November, so I'm hoping that counts as an OK on the concept:

> >    On 19 November 2013 14:23, Nicholas Marriott
> >      I'll put it on the todo list.

I've tested it out, and it seems promising, but there are a few kinks to iron 
out:

1) It doesn't interact well with mouse-mode: with mouse-mode on and this patch 
applied, I 
can scroll down a man page, but scrolling up enters copy mode.  Copy mode 
scrolling should 
be disabled in the alternate buffer:

On Monday 18 Nov 2013 15:35:20 Nicholas Marriott wrote:
> Lines are not added to history in alternate screen but in tmux existing
> history is still available. But I don't think it is a big issue for the
> scroll wheel not to enter copy mode in alternate screen mode.

2) I have "mouse=a" in Vim, and when scrolling with the mouse wheel in Konsole, 
the Vim 
cursor will stay on its original line, and only the buffer will scroll.  With 
this patch applied, up 
and down cursor events are generated by tmux and sent to Vim, so the cursor 
goes up and 
down (which it shouldn't).  I'm not sure what the solution is to this. I 
suppose there must be 
some way for tmux to tell that an app has requested control of the mouse? For 
instance, 
tmux doesn't enter copy-mode when I scroll up in Vim, so it must know that Vim 
is handling 
the scroll-up event itself.

Paul
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&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