fix(shell): preserve scrollback prompt colors in ov sticky headers #27
Reference in New Issue
Block a user
Delete Branch "feat/preserve-scrollback-header-colors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
functions/logs.fish: Scrollback logs now open inovwith a per-invocation temp config that setsSectionLine.BackgroundandSectionLine.Foregroundto empty strings. This prevents ov from overriding the ANSI colors embedded in the starship prompt when it is pinned as a sticky section header — the prompt now renders with its original colors instead of ov's default slateblue background.config.fish: Added a secondreturnsentinel inside theif status is-interactiveblock (in addition to the existing one at EOF) to guard against tool-injected init lines that target the interactive scope specifically.README.md: Updated the> [!IMPORTANT]callout to document both return sentinels.Manual Verification
logs→ select a scrollback entry → pressEnterreturnsentinels are present but neither affects interactive startup)