Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Not really a zsh thing, just a curiosity



2015-11-07 11:38:48 -0800, Bart Schaefer:
> I've somehow gotten one of my gnome-terminal windows into a state where
> in one tab the mouse wheel scrolls back through the window buffer and in
> the other tab the mouse wheel scrolls through the zsh history at the
> command line.  I have no idea how this happened, and I've never seen the
> latter before.

You've entered the alternate screen ($terminfo[smcup]). In
there, there's not scroll buffer, so gnome-terminal choses the
map the scroll wheel events to the same sequences as the arrow
keys.

-- 
Stephane



Messages sorted by: Reverse Date, Date, Thread, Author