tmux can either send arrow keys for the mouse wheel or it can enter copy
mode, not both. If it decides using whatever heuristic that it should
send arrow keys, then that stops it entering copy mode.

If there is no history at all then that's irrelevant and it'd work fine.


On Mon, Nov 18, 2013 at 01:45:10PM +0000, Paul Gideon Dann wrote:
>    On Monday 18 Nov 2013 12:44:27 Nicholas Marriott wrote:
> 
>    > Probably it guesses you want the mouse to send arrow keys when the
> 
>    > terminal is in alternate screen, try doing
> 
>    >
> 
>    > tput smcup
> 
>    >
> 
>    > and see if that makes konsole send them to cat -v.
> 
>    >
> 
>    > tmux could do this but then mouse wouldn't work for copy mode in any
> 
>    > full-screen applications.
> 
> 
> 
>    The behaviour in Konsole seems to be: if the buffer has never scrolled
>    (i.e. there is no scrollback history), arrow keys are sent on mouse
>    scroll. If there is a scrollback history, arrow keys are *not* sent, and
>    instead the window scrolls through the history.
> 
> 
> 
>    When Konsole is in the alternate buffer, scrolling is disabled, so it
>    locks into the mode in which it sends arrow keys on scroll events.
> 
> 
> 
>    Could you explain a little more about why this would break copy-mode for
>    full-screen applications in tmux?
> 
> 
> 
>    Paul

> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk

> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&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