ci_edit icon indicating copy to clipboard operation
ci_edit copied to clipboard

Scrolling down

Open aaxu opened this issue 8 years ago • 2 comments

Scrolling down using the mouse wheel makes the window snap back to the cursor (if it is out of view) and does nothing if the cursor is in view.

Scrolling up works as intended.

aaxu avatar Aug 07 '17 18:08 aaxu

Just did some testing and oddly enough, scrolling down produces a bState that doesn't match with any of the curses.BUTTONn_* constants. We might have to do a hack and just hard code the bState for this maybe? However, I don't know if it would have the same value for every computer/terminal. It does however, go into the handleMouse function.

It may just be my computer. @dschuyler can you see if scrolling down works properly for you?

aaxu avatar Aug 10 '17 17:08 aaxu

It does work for me (on Mac and Ubuntu), but I can confirm that mouse support differs by terminal and can be finicky. I agree that (yet more) special handling may be needed.

dschuyler avatar Aug 10 '17 18:08 dschuyler