Terminal Guide

Send Cursor Keys on Mouse Wheel on Alternative Screen

?1007
xterm
vte
konsole

When the alternate screen is active and the mouse wheel is used send arrow up and down.

The number of arrow up or arrow down sequences that are transmitted is implementation defined.

All mouse reporting modes suppress this and report in their specific format instead.