aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-21 15:21:20 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-21 15:21:20 -0400
commit7b783d53bbb29896322cd1b20e0df82cc43ed090 (patch)
treeb145e050db0df6e36c1df1f26d148a313796dd92 /t
parent923f242adbb74f95d1b298611b446bc775e7aaa9 (diff)
downloadlibvt100-python-7b783d53bbb29896322cd1b20e0df82cc43ed090.tar.gz
libvt100-python-7b783d53bbb29896322cd1b20e0df82cc43ed090.zip
test a couple more things
Diffstat (limited to 't')
-rw-r--r--t/csi_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/csi_test.py b/t/csi_test.py
index 689efbe..5031a22 100644
--- a/t/csi_test.py
+++ b/t/csi_test.py
@@ -177,6 +177,8 @@ class CSITest(VT100Test):
self.process("obar")
assert self.vt.get_string_plaintext(0, 0, 500, 500) == ("\n" * 9) + ' foobar' + ("\n" * 15)
+ assert self.vt.cursor_pos() == (9, 15)
self.process("\033[10;12H\033[100P")
assert self.vt.get_string_plaintext(0, 0, 500, 500) == ("\n" * 9) + ' fo' + ("\n" * 15)
+ assert self.vt.cursor_pos() == (9, 11)