From 576a78b4de02c4c6566c327d85c465554d293975 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 11 Nov 2026 12:49:15 -0300 Subject: design: the overflow as bytes; a minimap in each pane From the user. In the pair a frame is a dump of eight bytes a row read by its own fields, so each turn of the loop is one more letter and the letters are seen to cross from buf into the saved rbp and the return address, which reads as code until they reach it. Each pane with more than it shows carries its own minimap, a strip of its column of the map at four units a row with the pane's window outlined and what happens off the window marked there; the corner minimap is gone, and in the dive each column of the map folds into its pane's strip. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- design/mock/context.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'design/mock/context.py') diff --git a/design/mock/context.py b/design/mock/context.py index d58683c..31a54f6 100644 --- a/design/mock/context.py +++ b/design/mock/context.py @@ -98,8 +98,13 @@ def held_cell(g, x, y, w, h, k=1): g.rect(x, y + h - 3 * k, w, 3 * k, mix(VERM, PAGE, 0.6)) +MINIMAP = 0 # a pane with its own minimap: the frame this much wider than its content + + def tag(g, x, y, w, h, title, focus=False, note=None): - """A panel's frame and its one-row tag. note: a string, or runs (text, ink, underlined) for a legend.""" + """A panel's frame and its one-row tag. note: a string, or runs (text, ink, underlined) for a legend. The frame + is MINIMAP wider than w: the pane's minimap strip is drawn in it, right of the content (map.py).""" + w += MINIMAP g.rect(x, y, w, TAG, RAISED) g.frame(x, y, w, h, DIM if focus else RULE, 2) if focus: -- cgit v1.3