summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Quast <jquast@io.com>2015-01-03 16:48:22 -0800
committerJeff Quast <jquast@io.com>2015-01-03 16:48:22 -0800
commitaa0673509fd170a31fe3a97556e39312680a26f2 (patch)
treeba2cb90e9ae3b11bd9f38359027e2ae0d743c143
parentc936c27855a21fca0914351cdd0975d26e945c37 (diff)
downloadblessings-aa0673509fd170a31fe3a97556e39312680a26f2.tar.gz
add two new binary terminals
-rw-r--r--blessed/_binterms.py2
-rw-r--r--blessed/tests/accessories.py10
2 files changed, 7 insertions, 5 deletions
diff --git a/blessed/_binterms.py b/blessed/_binterms.py
index 762e762..ce6e295 100644
--- a/blessed/_binterms.py
+++ b/blessed/_binterms.py
@@ -707,6 +707,7 @@ tvi950-rv
tvi950-rv-2p
tvi950-rv-4p
tvipt
+unknown
vanilla
vc303
vc404
@@ -816,6 +817,7 @@ wy99fa
wy99gt
wy99gt-25
wy99gt-vb
+wy99gt-tek
wyse-vp
xerox1720
xerox820
diff --git a/blessed/tests/accessories.py b/blessed/tests/accessories.py
index ed9ab3f..703a06e 100644
--- a/blessed/tests/accessories.py
+++ b/blessed/tests/accessories.py
@@ -32,11 +32,11 @@ many_lines_params = [30, 100]
many_columns_params = [1, 25, 50]
from blessed._binterms import binary_terminals
try:
- all_terms_params = set(_term.split(None, 1)[0] for _term in
- subprocess.check_output(('toe',)).splitlines()
- ) - (set(binary_terminals)
- if not os.environ.get('TEST_BINTERMS')
- else set())
+ all_terms_params = (set(
+ _term.split(None, 1)[0] for _term in
+ subprocess.check_output(('toe',)).splitlines()
+ ) - (set(binary_terminals) if not os.environ.get('TEST_BINTERMS')
+ else set()))
except OSError:
all_terms_params = ['screen', 'vt220', 'rxvt',
'cons25', 'linux', 'ansi']