Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zcurses scrolling
- X-seq: zsh-users 20962
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: zcurses scrolling
- Date: Tue, 17 Nov 2015 09:34:51 -0800
- 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
All:
I'm experimenting with mouse input and getting strange results with the
scrolling wheel. If I grab input like this:
zcurses input status key keypad
... then the scroll wheel returns either 'UP' or 'DOWN' in '$keypad'. So
it simulates the arrow keys, which is logical and it works fine.
However, when I attempt to handle mouse events explicitly:
zcurses input status key keypad mouse
... things change. Now, if I scroll up:
$keypad is 'MOUSE' and
$mouse is '0 40 18 0 PRESSED4'
... but if I scroll down:
$keypad is 'MOUSE' and
$mouse is [unset]
So if I want to capture mouse clicks (which is working fine) then I'm
not able to capture scrolling down, tho I can capture scrolling up.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author