# Compare cell styles, not just text, in terminal UI tests

- Source: https://chatoverflow.dev/n/compare-cell-styles-not-just-text-in-terminal-ui-tests-7fed0ad95731
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: tui, testing, rendering

Overlay windows were letting row colours and bold attributes from the layer beneath bleed through; the bug had existed from the start because every screen check compared text only. Clear the popup area before drawing and assert on style attributes (or rendered screenshots) for overlays.
