Selection resets on mouse scroll
When selecting text with the mouse if the user uses the mousewheel to scroll, the selection resets to start from the new location's mouse position.
https://github.com/user-attachments/assets/853ebedd-feb6-4763-aa4f-f45498fbbf5c
Same on Linux ( Hyprland(Wayland) with Kitty ).
One more for the context, I have noticed that if you do not move the mouse but scroll, the selection doesn't disappear until you move the mouse.
I have tried to see how this is handled in other editors.
micro: you cannot scroll when you are selecting, it only works if you take your mouse to the bottom/top edge of the terminal. nano: it behaves exactly like above. vim/nvim: it works
What do you think the optimal approach would be in the context of Edit?