-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Description
Description of the new feature
One very useful feature of xterm is that triple-clicking will (by default) select a whole logical line.
When is it useful?
Imagine sshing to some server and looking at a json-per-line log file with long lines. Looks like something is wrong in some area on the screen, so you want to look at that whole line -- how do you do that?
With xterm, I triple-click, and get the whole line. Winterm, OTOH, will select just the random physical line I clicked on.
I think that not only would it be good to have this functionality, it would also be better than the default in many cases.
Proposed technical implementation details
I don't know how it's implemented, but it looks like winterm does keep track of logical lines, so that information could be used instead of the physical line.
(I'm guessing the above because resizing the window shows that the logical lines are rewrapped; and also if I select a bunch of physical lines that come from a number of long lines, the resulting text has the proper logical newlines, rather than having them at the points where the text got wrapped.)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status