Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Not really a zsh thing, just a curiosity
- X-seq: zsh-users 20930
- From: ZyX <kp-pav@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Subject: Re: Not really a zsh thing, just a curiosity
- Date: Sat, 07 Nov 2015 23:06:58 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1446926821; bh=6afVM1UQ5FGuyT2V8hTyk6wnPXeV6gQzaCMEwNnq6xU=; h=From:To:In-Reply-To:References:Subject:Date; b=cEPn+4+G9e79uQLw5V/1NHlg8lrrORwW9aIVsElMBEWI596J8bRzXgFPFxHOGdUXx FNutgvTD+v3HhJBdokM+VEeTo92iRri4EiM8WGlM2eHN0dRcs7o/Qmw9X3/jmChVaz hBCbJa9dNrCcLKmu7zjWMp4q+wiS56vqhLaddxM8=
- In-reply-to: <151107113848.ZM24275@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <151107113848.ZM24275@torch.brasslantern.com>
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