Skip to content

add left right mouse wheel #46

Open
john-peterson wants to merge 1 commit intoNHDaly:masterfrom
john-peterson:a/left
Open

add left right mouse wheel #46
john-peterson wants to merge 1 commit intoNHDaly:masterfrom
john-peterson:a/left

Conversation

@john-peterson
Copy link

@john-peterson john-peterson commented Jan 27, 2026

add left right mouse wheel

I recently added actions 66 67 wheel left right to tmux

tmux/tmux#4832

because I need it to navigate graphics in apps like les and less that don't have full mouse wheel support

even less don't support actions 66 67 wheel left right only 64 65 up down

unset LESS
cat weather|less --mouse --wheel-lines=3

I am essentially adding wheel left right to all apps except emacs and vim that already had it for ages

I use touch screen

I use a touch terminal unlike most which is probably why I am doing all these patches

I don't use an actual mouse only touch screen

todo add -# flag to les

I primarily wanted it in les that is fast and snappy but no wheel support

but I noticed it needs a new option to equalise scroll speed in both directions

this works well

unset LESS
cat weather|less -S -#2

this is ridiculous fast horizontal scroll

cat weather|les -w

I will add the same option to solve this

cat weather|les -w -#2

@john-peterson john-peterson changed the title add left right mouse wheel add left right mouse wheel Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant