You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Triple-click select line shouldn't trim whitespace before/after #11463
let classified:Vec<_> = campaign
.placements.iter().filter_map(|p| classify_placement(p, mute_stats).map(|ty| (p, ty))).collect();
Triple click currently stops at whitespace. I couldn't find another terminal on macOS that behaves this way, so we should follow suit and select the whole line including whitespace. The arguments for why in #11411 make sense.
Reacted by Hrvoje Nikšić, Yohan Boniface, lin72h, Matt Callaway, ahempy, nickthecook and Dan Bradbury
That said, I was checking how it works in iTerm and there is a visual-only difference on the last line. iTerm highlights until the end of the line while we only highlight until the last character.
Ghostty with the changes in the PR above
iTerm selection + data comparison being the same
So practically the behavior is now the same BUT there is this visual detail change on the last line.
I'm new to Ghostty, and this has quickly become my nemesis: triple-clicking doesn't reliably select the full line regardless of cursor position, nor allow dragging to extend the selection across lines (as in iTerm2 and most other terminals).
Activity
terminal/screen: preserve leading whitespaces in selectLine
jesusvazquez commentedon Mar 14, 2026
👋 I have a potential fix for this one here
That said, I was checking how it works in iTerm and there is a visual-only difference on the last line. iTerm highlights until the end of the line while we only highlight until the last character.
Ghostty with the changes in the PR above
iTerm selection + data comparison being the same
So practically the behavior is now the same BUT there is this visual detail change on the last line.
Do we want it?
jesusvazquez commentedon Mar 15, 2026
The previous approach was fundamentally wrong, we're giving it a second try in here #11535
speakman commentedon Mar 30, 2026
I'm new to Ghostty, and this has quickly become my nemesis: triple-clicking doesn't reliably select the full line regardless of cursor position, nor allow dragging to extend the selection across lines (as in iTerm2 and most other terminals).
rishangbhavsar commentedon Oct 12, 2026
Any updates for 1.3.2?