diff --git a/packages/xterm/lib/src/ui/painter.dart b/packages/xterm/lib/src/ui/painter.dart index f42bdf4..adaf082 100644 --- a/packages/xterm/lib/src/ui/painter.dart +++ b/packages/xterm/lib/src/ui/painter.dart @@ -242,9 +242,7 @@ class TerminalPainter { if (cellData.flags & CellFlags.inverse != 0) { color = resolveForegroundColor(cellData.foreground); } else if (colorType == CellColor.normal) { - // Always paint background for normal cells to prevent gaps. - // Previously this returned early, leaving gaps between lines. - color = _theme.background; + return; } else { color = resolveBackgroundColor(cellData.background); }