[idea] Triple-click to select and copy full logical line #597
Replies: 3 comments
|
+1 from Ghostty on macOS (Herdr 0.7.1) Double-click word/token copy in panes works well for me. Triple-click line select is the gap I notice most when switching from plain Ghostty. In Ghostty without Herdr, triple-click selects the full logical line. Inside Herdr, triple-click does not select a pane line the same way. Copy mode ( I also tried the terminal bypass path (Shift + triple-click). Ghostty then selects at the full terminal row level, which includes the sidebar and other columns on that row—not just the focused pane. So that workaround does not match native terminal behavior for me. Would love pane-local triple-click to mirror double-click: select and copy the full logical line within the focused pane, including soft-wrapped rows, without affecting mouse-reporting apps. |
|
Yes please! I really miss triple click. |
|
+1, and one design detail I think this idea should nail down before someone implements it. Environment: herdr 0.8.0, macOS 26.3.1, host terminal Ghostty. Confirming the gap is real in 0.8.0. I went looking through the shipped binary for a triple-click path before filing anything of my own. There are exactly two mouse selection primitives in there: No triple-click, line-selection, or click-count strings anywhere. The
The design detail: triple-click should be The title and body here both say "select and copy". If it lands that way it will be the only mouse gesture in herdr that ignores
Concretely, that means the Everything else in the original request I agree with as written: logical line across soft-wrapped rows (#922), trailing whitespace trimmed, pane-local so mouse-reporting apps are unaffected, highlight spanning all rows of the logical line. On the Shift+triple-click bypass another commenter mentioned — same result here on Ghostty. The host selects the full terminal row, so you get the sidebar and the neighbouring split glued onto every line. It isn't a workaround, it's a different feature. Copy mode works but it's four keystrokes for something that should be one gesture. @guilhermecvm you mentioned you have a working implementation locally — does it route through the existing |
Uh oh!
There was an error while loading. Please reload this page.
idea / problem
Double-click copies a word (PR #296), but there's no quick way to select an entire line with the mouse. In iTerm2, Ghostty, and other terminals, triple-click selects the full logical line (joining soft-wrapped rows). Herdr doesn't have this, you have to drag carefully across the whole line.
requested change
Triple-click in a pane should select and copy the full logical line, including across soft-wrapped visual rows. Trailing whitespace trimmed, highlight spans all rows of the logical line. Mouse reporting panes unaffected.
why you want this
I triple-click constantly to grab commands, paths, and log lines. It's muscle memory from every terminal I've used. Without it I have to drag precisely or switch to copy mode for something that should be instant.
I also have a working implementation and am using it locally already.
All reactions