edit icon indicating copy to clipboard operation
edit copied to clipboard

Selection resets on mouse scroll

Open pheonick opened this issue 8 months ago • 1 comments

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

pheonick avatar Jun 03 '25 20:06 pheonick

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?

spinualexandru avatar Jun 20 '25 10:06 spinualexandru