summaryrefslogtreecommitdiff
path: root/test/snapshots/pagercolor.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-08 23:37:38 -0300
committerGabriel Schneider <[email protected]>2026-11-09 01:28:28 -0300
commit9b50cfd1ebc21a0fd043fc68a2c305205f449742 (patch)
tree3013238c72ac52897566dd534d7e5ecf6231d711 /test/snapshots/pagercolor.snap
parentb1769aba4a7c1984ab09bd3c90b69177b14c42d8 (diff)
downloadpardes-9b50cfd1ebc21a0fd043fc68a2c305205f449742.tar.gz
pardes-9b50cfd1ebc21a0fd043fc68a2c305205f449742.zip
tests: the theme snapshot scripts (6: theme themesel syntax markup pagercolor cursorline) are process cases, test/process/tty_themes.zig, their goldens unchanged; checked against the old runner by the tty dropping bold (the same 5 fail in both)
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots/pagercolor.snap')
-rw-r--r--test/snapshots/pagercolor.snap24
1 files changed, 0 insertions, 24 deletions
diff --git a/test/snapshots/pagercolor.snap b/test/snapshots/pagercolor.snap
deleted file mode 100644
index 70630b0d..00000000
--- a/test/snapshots/pagercolor.snap
+++ /dev/null
@@ -1,24 +0,0 @@
-# `pardes -` keeps a program's colours: its SGR
-# becomes the +Pager's own colours over the plain text (red through the
-# theme's palette, truecolor as given, bold and underline, a man page's
-# overstrike), and every other escape (the OSC title) is dropped. The
-# needles waited for are split by escapes in the typed line, so only the
-# paged text holds them.
-start 50 100
-wait 8000 $
-stable 700 20000
-text printf '\033]0;title\007\033[31mred\033[m \033[1;32mbold green\033[m \033[38;2;200;100;0mrgb\033[m \033[4mul\033[m N\bNA\bAM\bME\bE _\bu_\bs plain\n' | $(readlink /proc/$PPID/exe) -
-key enter
-wait 20000 red bold green
-stable 700 20000
-snap pager
-snapstyle pager-colours
-# A coloured diff: the rows pardes tints as added or removed are drawn as
-# its own diff, and git's colours stay on the rest (the bold header, the
-# cyan hunk line, the yellow commit line).
-text printf '\033[33mcommit 0123\033[33mabc\033[m\n\033[1mdiff --git a/x b/x\033[m\n\033[1m--- a/x\033[m\n\033[1m+++ b/x\033[m\n\033[36m@@ -1 +1 @@\033[m\n\033[31m-old\033[m\n\033[32m+new\033[m\n' | $(readlink /proc/$PPID/exe) -
-key enter
-wait 20000 0123abc
-stable 700 20000
-snap pager-diff
-snapstyle pager-diff-colours