On Thu, Sep 09, 2010 at 09:29:29AM +0200, Mika Fischer wrote:
> On Wed, Sep 8, 2010 at 22:58, Nicholas Marriott
> <nicholas.marri...@gmail.com> wrote:
> > i don't know where the ^[[A and ^[[B are coming from, it looks like your
> > terminal is sending up and down key presses for the scroll
> > wheel. perhaps it only does it in cup mode, try "tput smcup" outside and
> > see if you get them (without doing the echo)
> >
> > can you reproduce the behaviour you are seeing in xterm?
> 
> No, because in xterm the scroll wheel doesn't work in the first place.
> Does it work for you? For instance for scrolling in man pages?
> Actually I could not get the scrolling to work in any other terminal
> besides gnome-terminal. So maybe gnome-terminal is doing something
> special here...

i think gnome-terminal sends up/down (^[[A/^[[B) for the scroll wheel
when not in mouse mode, this obviously won't work when a program has
captured the mouse instead (eg when mouse-select-pane is on and >1 pane
is visible, or when another program has grabbed it)

do you see ^[[A and ^[[B outside tmux when you scroll the wheel?

> 
> I tried setting "tput smcup" but it did not change the behavior in any way.
> 
> Any other ideas what I could test? Do you have gnome-terminal to test with?
> 
> Best,
>  Mika

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to