summaryrefslogtreecommitdiffstats
path: root/src/libvterm/t/90vttest_02-screen-4.test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libvterm/t/90vttest_02-screen-4.test17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/libvterm/t/90vttest_02-screen-4.test b/src/libvterm/t/90vttest_02-screen-4.test
new file mode 100644
index 0000000..44d51f1
--- /dev/null
+++ b/src/libvterm/t/90vttest_02-screen-4.test
@@ -0,0 +1,17 @@
+# Origin mode (2)
+INIT
+WANTSCREEN
+
+RESET
+
+PUSH "\e[?6l"
+PUSH "\e[23;24r"
+PUSH "\e[24;1H"
+PUSH "Bottom"
+PUSH "\e[1;1H"
+PUSH "Top"
+
+!Output
+?screen_row 23 = "Bottom"
+?screen_row 0 = "Top"
+