zed/crates/terminal
Apoorva Verma 79d238f6fd
terminal: Start a selection on shift+drag when mouse tracking is active (#60880)
run htop or btm and you can't select terminal text with shift+drag, the
usual escape hatch does nothing.

#25143 made shift+click only ever extend a selection, never start one.
so with nothing selected there's no anchor and the drag has nothing to
grab. now it drops an anchor when there's no selection, and still
extends when there is.

added two event-level tests (harness can't sync without a window):
shift+drag under mouse tracking, which fails without the fix, and
shift+click still extending.

Fixes #60254.

Release Notes:

- Fixed Shift+click-drag not selecting terminal text while an app has
mouse tracking enabled
2026-07-20 05:29:27 +00:00
..
src terminal: Start a selection on shift+drag when mouse tracking is active (#60880) 2026-07-20 05:29:27 +00:00
Cargo.toml terminal: Add backend-neutral terminal types (#57483) 2026-06-01 14:49:31 +00:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00