home · contact · privacy
Further extend scrolling and bookmark tests. master
authorChristian Heller <c.heller@plomlompom.de>
Thu, 23 Oct 2025 04:36:40 +0000 (06:36 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Thu, 23 Oct 2025 04:36:40 +0000 (06:36 +0200)
src/tests/tui_draw.test

index 98bd280d0ec964161b6ad33c1bc3348d86cffde7..0d9ed81f494525a5de21943a672b5e4f02f311af 100644 (file)
@@ -100,6 +100,9 @@ insert prompt-empty : +23
 × status-0-[1:18]-prompt
 line 22 on_black,bright_white foo.bar.baz:debug)===================================================(0 [(1:18)]§§
 insert prompt-empty : +23
 × status-0-[1:18]-prompt
 line 22 on_black,bright_white foo.bar.baz:debug)===================================================(0 [(1:18)]§§
 insert prompt-empty : +23
+× status-[0]-1:29-prompt
+line 22 on_black,bright_white :start)==============================================================([0] (1:29)§§
+insert prompt-empty : +23
 × status-0-[1:29]-prompt
 line 22 on_black,bright_white foo.bar.baz:debug)===================================================(0 [(1:29)]§§
 insert prompt-empty : +23
 × status-0-[1:29]-prompt
 line 22 on_black,bright_white foo.bar.baz:debug)===================================================(0 [(1:29)]§§
 insert prompt-empty : +23
@@ -231,6 +234,16 @@ line 65 on_black,bright_white <.. §§:§§:§§ PING :17
 line 66 on_black,bright_green >.. §§:§§:§§ PONG :17
 line 67 on_black,bright_white <.. §§:§§:§§ PING :18
 line 68 on_black,bright_green >.. §§:§§:§§ PONG :18
 line 66 on_black,bright_green >.. §§:§§:§§ PONG :17
 line 67 on_black,bright_white <.. §§:§§:§§ PING :18
 line 68 on_black,bright_green >.. §§:§§:§§ PONG :18
+line 69 on_black,bright_white <.. §§:§§:§§ PING :19
+line 70 on_black,bright_green >.. §§:§§:§§ PONG :19
+line 71 on_black,bright_white <.. §§:§§:§§ PING :20
+line 72 on_black,bright_green >.. §§:§§:§§ PONG :20
+line 73 on_black,bright_white <.. §§:§§:§§ PING :21
+line 74 on_black,bright_green >.. §§:§§:§§ PONG :21
+line 75 on_black,bright_white <.. §§:§§:§§ PING :22
+line 76 on_black,bright_green >.. §§:§§:§§ PONG :22
+line 77 on_black,bright_white <.. §§:§§:§§ PING :23
+line 78 on_black,bright_green >.. §§:§§:§§ PONG :23
 
 ×
 
 
 ×
 
@@ -712,7 +725,7 @@ insert status-0-[1:2]-prompt : +22
 insert history_1 45:67 +0
 insert status-0-[1]-prompt : +22
 
 insert history_1 45:67 +0
 insert status-0-[1]-prompt : +22
 
-# check unread-lines status not growing beyond max log if within active window
+# check unread-lines status not growing beyond max log if within active window, and …
 > /window.history.scroll up
 insert lines-empty :2 +0
 insert history_1 37:54 +2
 > /window.history.scroll up
 insert lines-empty :2 +0
 insert history_1 37:54 +2
@@ -753,5 +766,24 @@ insert history_1 67:68 +20
 insert scrolldown-29 : +21
 insert status-0-[1:29]-prompt : +22
 
 insert scrolldown-29 : +21
 insert status-0-[1:29]-prompt : +22
 
+# … setting bookmark visible after switching back-and-forth
+> /window 0
+insert history_0 10:31 +0
+insert bookmark : +21
+insert status-[0]-1:29-prompt : +22
+> /window 1
+insert lines-empty :19 +0
+insert history_1 67:68 +19
+insert bookmark : +20
+insert scrolldown-29 : +21
+insert status-0-[1:29]-prompt : +22
+> /window.history.scroll down
+insert lines-empty :8 +0
+insert history_1 67:68 +8
+insert bookmark : +9
+insert history_1 68:79 +10
+insert scrolldown-18 : +21
+insert status-0-[1:18]-prompt : +22
+
 > /quit
 log 0 <..
 > /quit
 log 0 <..