dankamongmen / notcurses

blingful character graphics/TUI library. definitely not curses.
https://nick-black.com/dankwiki/index.php/Notcurses
Other
3.57k stars 112 forks source link

Allow mouse coordinate updates outside of terminal window #2741

Closed neurocyte closed 7 months ago

neurocyte commented 9 months ago

Most terminals send mouse updates even when the cursor is outside of the terminal window if a button is pressed. This makes dragging operations potentially much easier for the user because they are not required keep the mouse cursor precisely inside the window while dragging.

For example, when dragging a scrollbar it may be easy click intially, but quite difficult to drag without touching the edge of the terminal window.

These two commit fix related issues in notcurses.

Comments very welcome.

dankamongmen commented 8 months ago

just wanted to say i've finally got time to work on Notcurses again, and you can expect this PR to be reviewed/tested/merged/reworked/spindled/folded/mutilated this week. sorry for the delay!