diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-10-18 02:38:41 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-10-18 02:38:41 -0400 |
commit | 91295c22eff10201049e4fb926680b3db9e11dde (patch) | |
tree | 7eadb4be2dd30ba35e58bda6614c03880a7cc6ed /test.py | |
parent | 5ab52ce39d2f89d6aa7bdec1248c4ceafd9c7893 (diff) | |
download | libvt100-python-91295c22eff10201049e4fb926680b3db9e11dde.tar.gz libvt100-python-91295c22eff10201049e4fb926680b3db9e11dde.zip |
start adding tests
Diffstat (limited to 'test.py')
-rw-r--r-- | test.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test.py b/test.py deleted file mode 100644 index 2c43bab..0000000 --- a/test.py +++ /dev/null @@ -1,11 +0,0 @@ -import hexdump - -import vt100 - -vt = vt100.vt100(24, 80) -string = b"foo\033[31m\033[32mb\033[3;7;42ma\033[23mr" -vt.process(string) - -hexdump.hexdump(vt.get_string_plaintext(0, 0, 0, 50)) -hexdump.hexdump(vt.get_string_formatted(0, 0, 0, 50)) -print(vt.cell(0, 4).contents()) |