zsh-users
 help / color / mirror / code / Atom feed
From: ZyX <kp-pav@yandex.ru>
To: Bart Schaefer <schaefer@brasslantern.com>,
	"zsh-users@zsh.org" <zsh-users@zsh.org>
Subject: Re: Not really a zsh thing, just a curiosity
Date: Sat, 07 Nov 2015 23:06:58 +0300	[thread overview]
Message-ID: <875501446926818@web5g.yandex.ru> (raw)
In-Reply-To: <151107113848.ZM24275@torch.brasslantern.com>

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


  reply	other threads:[~2015-11-07 20:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-07 19:38 Bart Schaefer
2015-11-07 20:06 ` ZyX [this message]
2015-11-07 20:08 ` shawn wilson
     [not found] <151107113848.ZM24275__4548.15182970396$1446925203$gmane$org@torch.brasslantern.com>
2015-11-07 21:16 ` Stephane Chazelas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875501446926818@web5g.yandex.ru \
    --to=kp-pav@yandex.ru \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).