mouse scrolling and selection

This commit is contained in:
Piotr Kocia 2025-06-14 01:59:02 +02:00
parent a163484f25
commit 5fc55b8fbd
7 changed files with 147 additions and 66 deletions

View file

@ -3094,6 +3094,7 @@ term_scroll_partial(struct terminal *term, struct scroll_region region, int rows
/* Cancel selections that cannot be scrolled */
if (unlikely(term->selection.coords.end.row >= 0)) {
// TODO (kociap): selection cancelled on scroll.
/*
* Selection is (partly) inside either the top or bottom
* scrolling regions, or on (at least one) of the lines