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 20932
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Not really a zsh thing, just a curiosity
- Date: Sat, 7 Nov 2015 21:16:44 +0000
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20120113;        h=date:from:to:cc:subject:message-id:mail-followup-to:references         :mime-version:content-type:content-disposition:in-reply-to         :user-agent;        bh=Ej9CUsGtRzwz+Do3nF8I8vBatgzAAAgoHKQIu44ZSxY=;        b=gyrEQuJom3dPesA8MpITin7m/DP49lQorxabDML25koEKIe+FNc8ripttDXaD6plUU         BS9Ni3v9jMLrBttzf3l5ZSGVb1GGfueleUo0WQgtYGZxKmTNaaOEBKqz7AHsejRSW23R         pLypkkcXXCgo8xlgWz3nE3SgUVsONg21nyi1YYnGjK7Rq/VHvqOGMSamVXvNIxwLSia9         Bc1W2GaXF0dNwUUcJNiZjU9hbMbIynVicXW+LRGbFCZH4xlXrrLtSmKG/nEO2PO97M1y         6nv4SCmoBu+MCy/p2jiUJTcjzRzanRZZyl5BIzi/KWCqq8T6gQCpuHn9k9BJuCVU4Kfw         et6w==
- In-reply-to: <151107113848.ZM24275__4548.15182970396$1446925203$gmane$org@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>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>,	zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author