colorant 0.6.1

Per-directory terminal theme switcher with system dark/light mode support
1
2
3
4
5
6
7
8
9
10
//! Terminal-specific output and detection.
//!
//! `osc` emits the xterm-flavored OSC escape sequences that repaint the
//! terminal, wrapping them in tmux DCS passthrough when needed. `utils`
//! identifies which terminal we're inside (`Terminal::Ghostty`,
//! `Terminal::ITerm2`, …) so callers can gate OSC emission on it.

pub mod osc;
pub mod style;
pub mod utils;