Changed xterm256 formatting to work with Potato. Also added Potato as a TTYPE exception since the client doesn't report itself correctly.

This commit is contained in:
Griatch 2016-08-28 16:36:44 +02:00
parent 9ec875f29c
commit 668029e82e
2 changed files with 6 additions and 2 deletions

View file

@ -116,7 +116,8 @@ class Ttype(object):
"MUDLET", # > beta 15 (sep 2009)
"MUSHCLIENT", # > 4.02 (apr 2007)
"PUTTY", # > 0.58 (apr 2005)
"BEIP")) # > 2.00.206 (late 2009) (BeipMu)
"BEIP", # > 2.00.206 (late 2009) (BeipMu)
"POTATO")) # > 2.00 (maybe earlier)
# all clients supporting TTYPE at all seem to support ANSI
self.protocol.protocol_flags['ANSI'] = True