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

Re: Not really a zsh thing, just a curiosity



07.11.2015, 22:40, "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>:
> 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.

There are two terminal modes regarding mouse: one when mouse is completely handled by a terminal emulator itself and one when terminal emulator only translates mouse events (wheel, presses) into escape sequences. Of course, modes are switched by passing terminal emulator some escape sequences. According to http://invisible-island.net/xterm/ctlseqs/ctlseqs.html this is not all-or-nothing thing: you may choose which of the mouse events are handled by the terminal and which by the application. Search the referenced page for `(?i)mouse`.



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