summaryrefslogtreecommitdiff
path: root/test/snapshots/mini.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-18 23:10:21 -0300
committerGabriel Schneider <[email protected]>2026-11-19 01:31:56 -0300
commit808efd09c7bbd4ca055463ae95ca4c2f5f474085 (patch)
treeaa796e157f19ebbab3afcca3cb2e711d82595feb /test/snapshots/mini.golden
parent250d34c1b942cd6e3726e96f6d80a9cf98d6e20e (diff)
downloadpardes-808efd09c7bbd4ca055463ae95ca4c2f5f474085.tar.gz
pardes-808efd09c7bbd4ca055463ae95ca4c2f5f474085.zip
File: the row after a text's last newline shows ~ where its line number was, as helix's gutter does: the slot the cursor can sit on there is no line yet (File.endSlot: the index's last row, starting at the text's end, never the first row), so the row writer puts `~` under the number's last digit and the gutter never lights it as the cursor's line (helix draws it in ui.linenr, never ui.linenr.selected); a text with no final newline has no such row and an empty text keeps its 1; the slot is found once a paint and each numbered row compares with it (asked of every row it cost body-appends +0.18%: 23,101,945 -> 23,142,809 instructions an operation); 36 tty goldens follow, regenerated and then filtered line by line so that only a number become `~` was kept (75 lines; callstack's and diffview's style rows start a cell later, msg's delta lists row 4 where `~` becomes 2; lspcomplete's and lspcompletemoved's failing rows are the base's still), the macOS drop golden's three rows by reading (not run here); tui core-test 823/964 (141 skipped), shell-test 999/1002, pane-test 183/184, behaviour-test 275/275 (one new: the row after a file's last newline), process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's; winch, headersweep and grep each failed once in a whole run and pass alone: grep's golden pins a search count caught as 0+); gui unit-test 1597/1601 (the four addon tests), its perf check passing; the frame corpus: 5 of 77 frames differ from the base's (57 to 61), each in a glyph-sized box of the gutter where 2 or 3 became ~; pardes-perf's 97 per-operation counts within 0.1% of the base's (the largest terminal on all +0.055%; body-appends -0.04% to -0.06%)
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'test/snapshots/mini.golden')
-rw-r--r--test/snapshots/mini.golden8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/snapshots/mini.golden b/test/snapshots/mini.golden
index c32397d5..105d329c 100644
--- a/test/snapshots/mini.golden
+++ b/test/snapshots/mini.golden
@@ -8,7 +8,7 @@
| 1 ⠭⠍⣥⢩⣭⡭⣭⣬⣌⢭⣭⠌⠬⠅⠍⠁
| 2 ⣂⢀⣉⣉⢉⣈⢁⣀⣀⢀⣀⣀⣀⢀⣀⣀⣀⣀⣀
| 3 ⠉⠉⠁⠉⠉⠉⠈⠈⠉⠉⠉⠉⠉⠉
-| 4
+| ~
== style opened grid=90x23
|0: 0-1 d,#1d2824, 2-89 #b2c3b8,#1d2824,
|1: 0-1 d,#887455, 2-89 #becfc4,#314738,
@@ -55,7 +55,7 @@
|8: 3 ⠉⠉⠁⠉⠉⠉⠈⠈⠉⠉⠉⠉⠉⠉
+8: 7="⠉" 8="⠉" 9="⠁" 10="⠉" 11="⠉" 12="⠉" 13="⠈" 14="⠈" 15="⠉" 16="⠉" 17="⠉" 18="⠉" 19="⠉" 20="⠉"
@8: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-17 #e5eee5,#0d1410,,body 18-19 #f8c082,#0d1410,,body 20-20 #e5eee5,#0d1410,,body 21-89 d,#0d1410,,body
-|9: 4
+|9: ~
@9: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body
|10:
@10: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-89 d,#0d1410,,body
@@ -94,7 +94,7 @@
| 1 ⠭⠍⣥⢩⣭⡭⣭⣬⣌⢭⣭⠌⠬⠅⠍⠁
| 2 ⣂⢀⣉⣉⢉⣈⢁⣀⣀⢀⣀⣀⣀⢀⣀⣀⣀⣀⣀
| 3 ⠉⠉⠁⠉⠉⠉⠈⠈⠉⠉⠉⠉⠉⠉
-| 4
+| ~
== 9p resized grid=105x27 cursor=7,7,block
|0: Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit
@0: 0-84 #b2c3b8,#1d2824,,tagline 85-104 d,#1d2824,,tagline
@@ -119,7 +119,7 @@
|9: 3 ⠉⠉⠁⠉⠉⠉⠈⠈⠉⠉⠉⠉⠉⠉
+9: 7="⠉" 8="⠉" 9="⠁" 10="⠉" 11="⠉" 12="⠉" 13="⠈" 14="⠈" 15="⠉" 16="⠉" 17="⠉" 18="⠉" 19="⠉" 20="⠉"
@9: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-17 #e5eee5,#0d1410,,body 18-19 #f8c082,#0d1410,,body 20-20 #e5eee5,#0d1410,,body 21-104 d,#0d1410,,body
-|10: 4
+|10: ~
@10: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body
|11:
@11: 0-0 d,#608269,,body 1-1 d,#0d1410,,body 2-6 #59675c,#0d1410,,body 7-104 d,#0d1410,,body