diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 13:30:42 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 13:44:34 -0300 |
| commit | bac1c62c1905a5ce11a6b630d556bc349041628b (patch) | |
| tree | ea3e154923ca5f36adb3e0e65920a17e464ca55f /src/terminal.zig | |
| parent | 7c84ebe66494c3b05dcd23f198b5c5f4189cb708 (diff) | |
| download | pardes-bac1c62c1905a5ce11a6b630d556bc349041628b.tar.gz pardes-bac1c62c1905a5ce11a6b630d556bc349041628b.zip | |
An image's or a terminal's tag says petscii:on when it is drawn as glyph art, as it always is with no graphics; Petscii on|off still chooses for when there are
The images and tagbottomimage goldens are re-recorded for the word.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/terminal.zig')
| -rw-r--r-- | src/terminal.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/terminal.zig b/src/terminal.zig index 80b9455c..140dae76 100644 --- a/src/terminal.zig +++ b/src/terminal.zig @@ -3072,8 +3072,8 @@ test "without pixels, or by the Petscii builtin, a terminal's image is glyph art try std.testing.expectEqual(@as(usize, 0), imagePlaces(s).len); try std.testing.expect(painted(s.at(tx, y)) and painted(s.at(tx + 1, y))); try std.testing.expect(!painted(s.at(tx + 2, y))); - // The tag says so, as an image pane's does. - try std.testing.expect(std.mem.indexOf(u8, try tagline.tagPrefix(p, pane), " petscii:off") != null); + // The tag says what is drawn, glyph art, as an image pane's does. + try std.testing.expect(std.mem.indexOf(u8, try tagline.tagPrefix(p, pane), " petscii:on") != null); // Pixels where they can be drawn; the builtin flips the pane to glyphs // and back. |
