Fix line ending error caused by autopep8 run

This commit is contained in:
Griatch 2017-08-19 23:21:45 +02:00
parent b278337172
commit 994e8f6fb0

View file

@ -133,7 +133,7 @@ class Ttype(object):
term = option
tupper = term.upper()
# identify xterm256 based on flag
xterm256 = (tupper.endswith("-256COLOR") # Apple Terminal, old Tintin or
xterm256 = (tupper.endswith("-256COLOR") or # Apple Terminal, old Tintin
tupper.endswith("XTERM") and # old Tintin, Putty
not tupper.endswith("-COLOR"))
if xterm256: