Add Chat Formatting Support For Servers (#1483)

This commit is contained in:
DrPerkyLegit
2026-04-13 00:49:49 -05:00
committed by itsRevela
parent ae9dbd837d
commit 71707fbb8c
11 changed files with 128 additions and 12 deletions

View File

@@ -157,8 +157,7 @@ void ChatScreen::keyPressed(wchar_t ch, int eventKey)
cursorIndex--;
return;
}
if (isAllowedChatChar(ch) && static_cast<int>(message.length()) < SharedConstants::maxChatLength)
if (isAllowedChatChar(ch) && static_cast<int>(message.length()) < SharedConstants::maxVisibleLength)
{
message.insert(cursorIndex, 1, ch);
cursorIndex++;