[READ-ONLY] Mirror of https://github.com/bombshell-dev/tty. Platform independent 2D layout engine for terminal applications based on Clay bomb.sh/docs/tty
Something went wrong. Try again.
TypeScript
1234567891011import { type DetectOptions, detectTerminal } from "../terminfo.ts";
export function offlineDetect(options: Partial<DetectOptions> = {}) { return detectTerminal({ env: {}, ...options });}
/** A TerminalInfo with truecolor granted via COLORTERM evidence. */export function trueColorDetect() { return offlineDetect({ env: { COLORTERM: "truecolor" } });}