vtcode-terminal-detection 0.123.5

Shared terminal detection primitives for VT Code
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# vtcode-terminal-detection

Shared terminal detection primitives for VT Code. Detects terminal emulator, color support, and capabilities.

## Conventions

- Detection results are cached after first call. Do not re-detect in hot paths.
- All detection functions return `anyhow::Result` and degrade gracefully (return "unknown" rather than error).
- Platform-specific detection uses `#[cfg]` attributes, not runtime OS checks.

## Dependencies

- `anyhow` (error handling)
- `dirs` (home/config directory resolution)