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.
Oh yes; I see that if I enter copy-mode in Vim, I can scroll back to the
console before Vim
was invoked. In my opinion, this actually feels a little confusing. It's
never really occurred
to me that I might be able to scroll back, because in my head when I enter a
new buffer,
the old one is hidden away behind the current buffer. To get back to it, I
would always do
":sh" in Vim to return to the primary buffer and enter copy-mode there, then
return to Vim.
Similarly for man/less, although it would mean actually exiting. Konsole
certainly doesn't
allow me to scroll back until I leave the alternate buffer.
So I actually think implementing this behaviour in the alternate buffer would
provide a
double-pronged element-of-least-surprise advantage:
1) It supports the concept that the primary buffer is hidden away behind the
alternate
buffer, like a pop-up window, and therefore temporarily inaccessible.
2) It makes it possible for mouse scrolling in "man", "less", and others "just
work" in the
way they do outside of term. (Or at least I assume terminals other than
Konsole have this
behaviour too.)
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