summaryrefslogtreecommitdiff
path: root/test/snapshots/views-term.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-31 06:28:48 -0300
committerGabriel Schneider <[email protected]>2026-10-31 06:28:48 -0300
commita479792a1ab2b593642d7f648194bfa23ce01dba (patch)
tree96ddee7d879a9084daa07db43b0b7910b072a785 /test/snapshots/views-term.snap
parente179cc44fe5060c76a5b00c41e53f11209f5acd9 (diff)
parent4c761893e5b3fdae422622cfa02104ab36633045 (diff)
downloadpardes-a479792a1ab2b593642d7f648194bfa23ce01dba.tar.gz
pardes-a479792a1ab2b593642d7f648194bfa23ce01dba.zip
Merge the upstream daemon and replicated client/server refactor
Diffstat (limited to 'test/snapshots/views-term.snap')
-rw-r--r--test/snapshots/views-term.snap27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/snapshots/views-term.snap b/test/snapshots/views-term.snap
new file mode 100644
index 00000000..bbd1c368
--- /dev/null
+++ b/test/snapshots/views-term.snap
@@ -0,0 +1,27 @@
+# A terminal shown in two views at two sizes (src/views.zig): it takes the
+# size of the view that typed into it last; the other shows it at that size.
+config Verbose off
+start 24 80 views=2
+wait 8000 $
+stable 700 20000
+view 2
+resize 14 50
+stable 500 10000
+snap small
+# Typed in the big view: sized for it, shown so in the small one.
+view 1
+text echo from-the-big-one
+key enter
+stable 500 10000
+snap big
+view 2
+stable 500 10000
+snap small-sees
+# Typed in the small view: sized for it now, the big one shows it so.
+text echo from-the-small-one
+key enter
+stable 500 10000
+snap small-typed
+view 1
+stable 500 10000
+snap big-sees