Skip to main content

resolve_local_terminal_theme_for_injection

Function resolve_local_terminal_theme_for_injection 

Source
pub fn resolve_local_terminal_theme_for_injection() -> Option<Theme>
Expand description

Resolves the local terminal’s theme for injection into a shine ssh remote session (PRD §6.1): prefers an already-exported SHINE_TERMINAL_THEME, otherwise queries the local tty directly — unlike a remote query, this is a same-host round trip with no fragmentation risk (PRD §2.2). Returns None rather than failing shine ssh itself: this is a display-layer nicety, never a reason to block a login.