diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-19 22:15:16 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-19 22:26:54 -0300 |
| commit | ba10cc4ff30d08d27ad35576df04a03282b6521b (patch) | |
| tree | e367489aa56f36d71485ce07b4022b512139a94c /core/ansi.zig | |
| parent | 98b2bc05cd7b6c78952600029939bbc44c5fc56b (diff) | |
| download | pardes-ba10cc4ff30d08d27ad35576df04a03282b6521b.tar.gz pardes-ba10cc4ff30d08d27ad35576df04a03282b6521b.zip | |
Term: the two things a speculation writes into a terminal and no rollback puts back move into the pane, which the copy holds and the digest covers: the cell its program last heard the mouse at (Pane.term_mouse, handed to Term.mouse and Term.wheel, which ghostty's encoder reads and writes) and its kitty graphics as glyph art (Pane.term_petscii, which the Petscii builtin flips and the images' draw takes in ImagesAt): the sizing's table (reports/pardes-term-bytes.md, section 1; the brief's step 1c); Parts loses both (a dump of an older build carries them and they are passed over by name: a terminal's Petscii chosen before an Upgrade is off after it), Ops loses petscii and togglePetscii; term-test 17/17, core-test 848/991 (143 skipped), shell-test 1027/1030
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/ansi.zig')
| -rw-r--r-- | core/ansi.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ansi.zig b/core/ansi.zig index 6c23fee6..5f522536 100644 --- a/core/ansi.zig +++ b/core/ansi.zig @@ -228,6 +228,7 @@ pub fn images(p: *Pardes, s: *Surface, pane: *Pane, id: usize, tx: u16, tw: u16, .cols = @min(tw, pane.cols), .rows_of = rows_of[0..vp_rows], .tty_mode = pane.body.mode == .tty, + .petscii = pane.term_petscii, .now_ms = p.clock.stepped_ns / std.time.ns_per_ms, .cell_w = @max(1, p.view().cell_pixels.w), .cell_h = @max(1, p.view().cell_pixels.h), |
