sync_terminal_background(
self,
) -> NoneBest-effort sync of terminal default background to the active theme.
Custom themes use their stored registry colors; built-in Textual themes resolve colors from the active app theme. Terminal write failures are logged and swallowed because the OSC background sync is cosmetic.
ANSI themes intentionally skip this step so the terminal's native background is preserved.