csi: implement CSI ? 1007 h/l - alternateScroll

When enabled, mouse scrolls in the alternate screen are converted to
up/down key presses.
This commit is contained in:
Daniel Eklöf 2019-08-19 21:16:47 +02:00
parent 9029478e8c
commit 4168f91d40
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 31 additions and 6 deletions

View file

@ -246,6 +246,7 @@ struct terminal {
bool insert_mode;
bool bracketed_paste;
bool focus_events;
bool alt_scrolling;
enum mouse_tracking mouse_tracking;
enum mouse_reporting mouse_reporting;