diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 01:57:51 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 09:54:55 -0300 |
| commit | 534f7da02ac58e475bb24801d315d7b736bd9c38 (patch) | |
| tree | caa7636616c1bbc8d170ec14a2140ec77b6e6ad4 /src/draw.zig | |
| parent | ae975128f8b723d86f2daee3d23168adce21905c (diff) | |
| download | pardes-534f7da02ac58e475bb24801d315d7b736bd9c38.tar.gz pardes-534f7da02ac58e475bb24801d315d7b736bd9c38.zip | |
after the merge: the window's frame probe follows a Restore's new core (it pointed into the freed old one, so every frame after a Restore wrote freed memory); ov_pinch_scale and ov_touch_scroll_delta go (nothing wrote them once the pinch and touch_scroll events went; the Debug box loses its two dead rows, topbarexec and windowops regenerated alone and re-run); the perf baselines are named tui, as the frontend is (the perf gate had looked for perf-baseline-tui-*.json and found the tty-named files)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/draw.zig')
| -rw-r--r-- | src/draw.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/draw.zig b/src/draw.zig index b2884641..83f93be0 100644 --- a/src/draw.zig +++ b/src/draw.zig @@ -703,8 +703,8 @@ pub fn render(p: *Pardes, arena: std.mem.Allocator) !*Surface { const timings = if (virtual) "frame virtual clock\n" else p.frames.summary(&frames_buf); const text = std.fmt.bufPrint( &ov_buf, - "pardes resizes={d}\ntheme {s}\nfont {s}\nterms {d} cols {d}\nactive #{d} {d}x{d}\nscroll {d}/{d}\npinch {d:6.4}\ntscroll {d:7.4}\n{s}", - .{ p.resize_count, p.theme().name, font_name[0..@min(font_name.len, 64)], nlive, p.ncol, p.active, at.cols, at.rows, sb_off, sb_total, p.ov_pinch_scale, p.ov_touch_scroll_delta, timings }, + "pardes resizes={d}\ntheme {s}\nfont {s}\nterms {d} cols {d}\nactive #{d} {d}x{d}\nscroll {d}/{d}\n{s}", + .{ p.resize_count, p.theme().name, font_name[0..@min(font_name.len, 64)], nlive, p.ncol, p.active, at.cols, at.rows, sb_off, sb_total, timings }, ) catch ""; // wide enough for the longest theme name compiled in, which is the // only row here whose width is not ours to choose |
