From: Christian Heller Date: Thu, 23 Oct 2025 04:36:40 +0000 (+0200) Subject: Further extend scrolling and bookmark tests. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bprefix%7D%7D/add_task?a=commitdiff_plain;ds=sidebyside;p=ircplom Further extend scrolling and bookmark tests. --- diff --git a/src/tests/tui_draw.test b/src/tests/tui_draw.test index 98bd280..0d9ed81 100644 --- a/src/tests/tui_draw.test +++ b/src/tests/tui_draw.test @@ -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: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 @@ -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 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 -# 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 @@ -753,5 +766,24 @@ insert history_1 67:68 +20 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 <..