diff --git a/src/terminalDisplay/TerminalPainter.cpp b/src/terminalDisplay/TerminalPainter.cpp index b2a17dab..5524af04 100644 --- a/src/terminalDisplay/TerminalPainter.cpp +++ b/src/terminalDisplay/TerminalPainter.cpp @@ -145,24 +145,6 @@ void TerminalPainter::drawContents(Character *image, break; } - // Group spaces following any non-wide character with the character. This allows for - // rendering ambiguous characters with wide glyphs without clipping them. - // NOTE: This happens in the else case too, but we need it here as well. - if (!doubleWidth && next_char.character == ' ' && char_value.equalsFormat(next_char)) { - univec << next_char.character; - len++; - while (isInsideDrawArea(x + len)) { - const Character next_char_gp = image[m_parentDisplay->loc(x + len, y)]; - if (next_char_gp.character == ' ' && char_value.hasSameColors(next_char_gp) && char_value.hasSameRendition(next_char_gp)) { - univec << next_char_gp.character; - len++; - } else { - break; - } - } - break; - } - const uint c = next_char.character; if ((next_char.rendition & RE_EXTENDED_CHAR) != 0) { // sequence of characters