diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-16 22:17:47 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-16 22:32:11 -0300 |
| commit | 266515537a917154ef4736a1d6b1cc97be23fced (patch) | |
| tree | 9e0a10c3abd0c8911182c8b071f692e0b09a9310 /test/process/tty_images.zig | |
| parent | fc38c73c59f7855a4caad8aa4d3bb8e023309c13 (diff) | |
| download | pardes-266515537a917154ef4736a1d6b1cc97be23fced.tar.gz pardes-266515537a917154ef4736a1d6b1cc97be23fced.zip | |
mouse: no drag guides, and columns resize by their grips alone
A drag draws no guide lines: the dashes where a pane or column would land, the carried column's rail and the held seam's dashes are gone, with the guide region kind, Surface.overlayDash, the rail's Region.clip and MAX_GUIDES; the gui's floating draw group is the debug box's alone.
The line between two columns is no resize handle: Drag.border_v and its corner variant are gone, with clampBorderCol and the unused chromeTarget. A press there is a press in the pane under it (a sweep). A column resizes by its grip, a pane by its grip or, in a window, the rule above it (border_h, unchanged).
Tests: the corner and border-drag unit tests and the cornerdrag and cornerdrag-left tty cases are deleted; windowops loses its border drag and tagalign2col widens its column by the grip; colgrip, shrinktag and windowops goldens drop the guides; a unit test pins that a press on the line between columns sweeps and resizes nothing. The cheatsheet, themes, render-pipeline notes and changelog say so.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/process/tty_images.zig')
| -rw-r--r-- | test/process/tty_images.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/process/tty_images.zig b/test/process/tty_images.zig index dea9feef..5c39d4f3 100644 --- a/test/process/tty_images.zig +++ b/test/process/tty_images.zig @@ -50,7 +50,7 @@ fn images(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // the tag takes an edit like any other pane's now — nothing live left in it to // protect, so the image early-return in enterTagEdit is gone. The image-state // prefix is wider than this source-local column, so widen the grid for this - // final assertion. (A column-border drag intentionally takes width from only + // final assertion. (A column grip drag intentionally takes width from only // one neighbour, which cannot expose this 82-column prefix.) Then click the // visible tail itself, at its `Term`. This proves the image tag is an ordinary // editor rather than accidentally typing at a clipped read-only path. |
