diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-26 01:30:32 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-26 01:31:08 -0300 |
| commit | e793644c7192a96ae2e39e072708b059edafaeeb (patch) | |
| tree | 80a9526fbf1abf4176e6b660b7bcf668ed385b55 /test/terminal.zig | |
| parent | 94f00e966c908d370e34ed5e0496a86b33de26d6 (diff) | |
| download | pardes-e793644c7192a96ae2e39e072708b059edafaeeb.tar.gz pardes-e793644c7192a96ae2e39e072708b059edafaeeb.zip | |
jj, ansi, colors: the Changes layer and a terminal's diff draw their added and deleted rows, lanes and churn from the chrome (the themes programme's L2c; DESIGN.md R10, B6), worked out once a theme change by Chrome.of and read by `p.chrome()`, never derived again a frame, a row or a ghost line: a line a change added whole and a ghost line it added on `add.row`, a line taken away whole and a line going on `del.row`, its text in `line_number`, the words that went on `del.emph` and the words that came on `add.emph`, a description's id in the keyword's syntax ink where one change is pinned; one change pinned, its lane in the diff's own markers, `add.ink` beside a row it wrote and `del.ink` beside one it took away (the user's rulings of 2026-11-23); several, `lanes` (the sixteen's accents and the number and keyword hues, written and taken away left out, hue-sorted, R10); churn on `heat`'s eight steps from the line numbers' ink to the deleted hue, the step a count's log share of the hottest; a finished command pane's diff (ansi.recolorDiffOutput) on `add.row`/`del.row`, its markers `add.ink`/`del.ink`, its words the page's text; DELETED: jj.laneInks, laneColours and their HSV helpers (hue, hueApart, chroma, hue_apart), themeRed and its literal #cf222e and #2ea043 (the second copies of Grounds' fallbacks), heatColour's OKLab mix a row, the six Grounds.of a frame (one per ghost row, mark and going line); THE CAUSE where one moved: the old reds and greens were the palette's or two literals, so `dark` and every theme without a palette drew GitHub's red and green on rows mixed from the tag (the page's stand-in), the lane inks were pushed toward the text by 40 % steps to 3:1 on that page, and the markers on the patch view and the lanes disagreed (C1's surfaces.md §3.7); and a theme whose accents are all grey would divide by a lane count of 0 (colors: `lanes` now never empty: a theme with no accent draws its lanes in the line numbers' grey); the ring's `diff` check at B4's floor, 1.15:1 (was 1.1), unless the theme's text holds the row nearer (R10: never under its floor on the row: tokyonight_day's #3760bf on #e1e2e7, 4.9:1, leaves 1.11:1), and 0.05 apart; RUN (TEST FIRST): jj.zig's lane tests re-pinned to the chrome ("Changes draws a lane ...", "Changes draws what the text has not ...", "from the middle ...", "Churn counts ...", "Compare pins ...": the lanes `lanes[pin]`, a whole line's ground `add.row`, a going line's `del.row`, the ghost text `line_number`, the id `syntax[keyword]`, one change's lane `add.ink`/`del.ink`, churn's hottest `heat[7]` and 3-of-4's `heat[6]`), and "a diff's two lane inks in every theme" now asks every theme's markers apart and 4.5:1 on their row and words (as near as the theme reaches): on the base the four drawing tests fail (the old inks) and the ring fails tokyonight_day at 1.15, all pass now; diffview.golden re-recorded: rows 18-20 and 23-25 (the command pane's `cat change.diff`: its deleted row #302b25 -> #331a12, its added rows #263025 -> #132503: R10's rows 1.15:1 off orchard's page in the hue, where Grounds mixed the page 18 % toward the palette's colour; the markers #f1a39b and #b6ce94 unchanged, orchard's own red and green already 4.5:1 there), the diff pane's own rows (File.zig, L2b's) and diffstack.golden unchanged; GATES: core-test 1123/1296 (173 skipped; the base's count), process-test `diff` 2/2 after the update; load 3.5 to 6.7
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'test/terminal.zig')
0 files changed, 0 insertions, 0 deletions
