zsh-users
 help / color / mirror / code / Atom feed
From: Stephane Chazelas <stephane.chazelas@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@zsh.org
Subject: Re: Not really a zsh thing, just a curiosity
Date: Sat, 7 Nov 2015 21:16:44 +0000	[thread overview]
Message-ID: <20151107211644.GA16917@chaz.gmail.com> (raw)
In-Reply-To: <151107113848.ZM24275__4548.15182970396$1446925203$gmane$org@torch.brasslantern.com>

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


       reply	other threads:[~2015-11-07 21:16 UTC|newest]

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

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=20151107211644.GA16917@chaz.gmail.com \
    --to=stephane.chazelas@gmail.com \
    --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).