Mouse selection doesn't work like other apps when mouse cursor is to the left of the text area, to select whole line(s) #7486
Labels
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
I absolutely love love this product, thank you so much guys for making it.
This may be a duplicate of #5099 (I'm not sure), but I wanted to call out one specific behaviour that I find to be especially clearly wrong based on muscle memory from other apps, and also irritating to work around.
Environment
Windows Terminal 1.2.2381.0, installed from the app store, on Windows 10.
Steps to reproduce
OK, I want to select one or more whole lines, including their newline. In almost every other app I have ever used, if you start dragging and then drag while the mouse cursor is to the left of the text area (perhaps even outside the window, which is fine, since the mouse is captured), then the first character on the line will not be included in the selection, since you are to the left of it. In Windows Terminal, it is included, and this seems wrong. It's especially irritating because basically there's no way to get your selection to include that last newline and thus select whole blocks of text with the mouse.
So, steps to reproduce are:
Expected behavior
I expect the selection to end with a newline character from the last selected line.
Actual behavior
Instead, the first character of the line below is included, like this:
(My mouse cursor isn't int he screen cap, but it's to the left of the current window.)
Also, if somebody can point me in the right direction, I could probably fix this and submit a PR. Just need a pointer to where to start poking around.
The text was updated successfully, but these errors were encountered: