mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 01:06:32 +01:00
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"):
|
||||
# supports xterm256 stably since 1.1 (2010?)
|
||||
xterm256 = clientname.split("MUDLET", 1)[1].strip() >= "1.1"
|
||||
# Mudlet likes GA's on a prompt line for the prompt trigger to match.
|
||||
self.protocol.protocol_flags["NOGOAHEAD"] = True
|
||||
self.protocol.protocol_flags["NOPROMPTGOAHEAD"] = False
|
||||
# Mudlet likes GA's on a prompt line for the prompt trigger to match, if it's not wanting NOGOAHEAD.
|
||||
if not self.protocol.protocol_flags["NOGOAHEAD"]:
|
||||
self.protocol.protocol_flags["NOGOAHEAD"] = True
|
||||
self.protocol.protocol_flags["NOPROMPTGOAHEAD"] = False
|
||||
|
||||
if (
|
||||
clientname.startswith("XTERM")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue