Only use GA-lite for mudlet if it's rejected NOGOAHEAD
This commit is contained in:
parent
9b749d16a6
commit
b787c4d076
1 changed files with 4 additions and 3 deletions
|
|
@ -119,9 +119,10 @@ class Ttype(object):
|
||||||
if clientname.startswith("MUDLET"):
|
if clientname.startswith("MUDLET"):
|
||||||
# supports xterm256 stably since 1.1 (2010?)
|
# supports xterm256 stably since 1.1 (2010?)
|
||||||
xterm256 = clientname.split("MUDLET", 1)[1].strip() >= "1.1"
|
xterm256 = clientname.split("MUDLET", 1)[1].strip() >= "1.1"
|
||||||
# Mudlet likes GA's on a prompt line for the prompt trigger to match.
|
# Mudlet likes GA's on a prompt line for the prompt trigger to match, if it's not wanting NOGOAHEAD.
|
||||||
self.protocol.protocol_flags["NOGOAHEAD"] = True
|
if not self.protocol.protocol_flags["NOGOAHEAD"]:
|
||||||
self.protocol.protocol_flags["NOPROMPTGOAHEAD"] = False
|
self.protocol.protocol_flags["NOGOAHEAD"] = True
|
||||||
|
self.protocol.protocol_flags["NOPROMPTGOAHEAD"] = False
|
||||||
|
|
||||||
if (
|
if (
|
||||||
clientname.startswith("XTERM")
|
clientname.startswith("XTERM")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue