aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-21 19:34:20 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-21 19:34:20 -0400
commit2f81c0f40ab23197b673e419acbc17885fe18616 (patch)
treec324eaea825b08cad0b2cebe6b5dd1fbd8608341 /t
parente870260f380504f7763496bc5d81c71a6875da9d (diff)
downloadlibvt100-python-2f81c0f40ab23197b673e419acbc17885fe18616.tar.gz
libvt100-python-2f81c0f40ab23197b673e419acbc17885fe18616.zip
test VPA
Diffstat (limited to 't')
-rw-r--r--t/csi_test.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/csi_test.py b/t/csi_test.py
index 9d3c451..83e29cc 100644
--- a/t/csi_test.py
+++ b/t/csi_test.py
@@ -7,6 +7,12 @@ class CSITest(VT100Test):
self.process("\033[10;10H")
assert self.vt.cursor_pos() == (9, 9)
+ self.process("\033[d")
+ assert self.vt.cursor_pos() == (0, 9)
+
+ self.process("\033[15d")
+ assert self.vt.cursor_pos() == (14, 9)
+
self.process("\033[H")
assert self.vt.cursor_pos() == (0, 0)