multi-line doesnt seem bugged and joins still work, will work on the small gap in buffer at the bottom

This commit is contained in:
imnotacoder-eeeee 2024-05-29 21:34:07 -04:00
parent 711e8dee5b
commit 252e97f139

View File

@ -993,9 +993,9 @@ void displayLines() {
String senderNick = line.substring(startIndex, endIndex); String senderNick = line.substring(startIndex, endIndex);
String actionMessage = line.substring(endIndex + 1); String actionMessage = line.substring(endIndex + 1);
tft.setTextColor(nickColors[senderNick]); tft.setTextColor(nickColors[senderNick]);
tft.print(senderNick + " "); tft.print(senderNick);
tft.setTextColor(TFT_WHITE); tft.setTextColor(TFT_MAGENTA);
tft.print(actionMessage); tft.print(" " + actionMessage);
cursorY += CHAR_HEIGHT; cursorY += CHAR_HEIGHT;
} else { } else {
int colonIndex = line.indexOf(':'); int colonIndex = line.indexOf(':');