From 9b50cfd1ebc21a0fd043fc68a2c305205f449742 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 8 Nov 2026 23:37:38 -0300 Subject: 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 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/snapshots/pagercolor.snap | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 test/snapshots/pagercolor.snap (limited to 'test/snapshots/pagercolor.snap') 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 -- cgit v1.3