From 1ab4c071be58033d5452f69797ca8e2c32240cff Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 15 Sep 2026 16:28:57 -0300 Subject: Separate tag text geometry from physical pane grips --- docs/config.md | 7 ++++--- docs/detached.md | 9 +++++---- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'docs') diff --git a/docs/config.md b/docs/config.md index d0bf63da..2a1825ce 100644 --- a/docs/config.md +++ b/docs/config.md @@ -349,9 +349,10 @@ Taglines use a distinct face size in both native GUI renderers. Execute accepted range is 1 through 100 and the default comes from `gui_tagline_font_percent` in `src/config.zig` (82). The native renderer remeasures both the glyph and its visible tag band while retaining body-grid -pane geometry. The SDL GUI uses the smaller face's measured monospace advance -as a real per-pane tagline grid, including pointer hit testing; it does not pad -each smaller glyph back out to a body-width cell. The 100% ceiling is +pane geometry. Graphical tag text uses the smaller face's measured monospace +advance and fills the available pixel width, including workspace and column +tags. Text selection and scrolling use that same capacity; drag grips retain +their physical body-grid width and position. The 100% ceiling is deliberate: a tagline remains exactly one logical grid row, so a larger face or band would overlap its pane body or a neighbour instead of leaving the body grid stable. `Config` reports the active percentage. The browser applies the diff --git a/docs/detached.md b/docs/detached.md index af81547a..2111e3dc 100644 --- a/docs/detached.md +++ b/docs/detached.md @@ -49,11 +49,12 @@ write session files or install file watches. `src/detached/wire.zig` owns the versioned frontend protocol. Frames are full grids or changes relative to each frontend's last queued frame. A new attachment receives a full grid. Output queues and per-poll work are bounded; -a lagging frontend cannot hold the session's event loop. Protocol version 5 -also carries the pointer shape, compact source-context body layers and their -source-gap separators. Pointer +a lagging frontend cannot hold the session's event loop. Protocol version 6 +also carries the pointer shape, compact source-context body layers, source-gap +separators and independently sized tag text. Pointer updates work even when no grid cells change, and graphical clients use the -same compact row geometry for drawing and mouse input. Terminal clients retain +same compact row and tag geometry for drawing and mouse input. Tag text positions +are separate from physical pane and drag-handle coordinates. Terminal clients retain the ordinary fixed grid. `zig build unit-test` covers encoding, session ownership, real frontend -- cgit v1.3