From 5554946721b4a96d3c1dfd6b81e71a63415cf3a6 Mon Sep 17 00:00:00 2001 From: mike Date: Mon, 8 Apr 2024 16:28:41 -0700 Subject: [PATCH] Fixed typo in ttype and added truecolor to help text in telnet. --- evennia/server/portal/telnet.py | 1 + evennia/server/portal/ttype.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/evennia/server/portal/telnet.py b/evennia/server/portal/telnet.py index 1b1e27db62..d5e9118837 100644 --- a/evennia/server/portal/telnet.py +++ b/evennia/server/portal/telnet.py @@ -419,6 +419,7 @@ class TelnetProtocol(Telnet, StatefulTelnetProtocol, _BASE_SESSION_CLASS): - xterm256: Enforce xterm256 colors, regardless of TTYPE. - noxterm256: Enforce no xterm256 color support, regardless of TTYPE. - nocolor: Strip all Color, regardless of ansi/xterm256 setting. + - truecolor: Enforce truecolor, regardless of TTYPE. - raw: Pass string through without any ansi processing (i.e. include Evennia ansi markers but do not convert them into ansi tokens) diff --git a/evennia/server/portal/ttype.py b/evennia/server/portal/ttype.py index 3a6be64c72..58705eb12d 100644 --- a/evennia/server/portal/ttype.py +++ b/evennia/server/portal/ttype.py @@ -44,7 +44,7 @@ class Ttype: def __init__(self, protocol): """ Initialize ttype by storing protocol on ourselves and calling - the client to see if it supporst ttype. + the client to see if it supports ttype. Args: protocol (Protocol): The protocol instance.