termcinema-cli 0.1.0

🎬 Animated terminal-to-SVG renderer CLI for the termcinema project
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Utility functions used throughout the CLI renderer.
//!
//! This module provides helpers for input handling, file inspection,
//! and string preprocessing. These are internal-only utilities and
//! not exposed to end users.
//!
//! It includes:
//! - Escape sequence interpretation (for `\\n`, `\\t`, etc.);
//! - File size warnings to prevent oversized SVG output;
//! - Detection of piped vs interactive stdin input.

mod escape;
mod file;
mod stdin;

pub(crate) use escape::interpret_escapes;
pub(crate) use file::warn_if_svg_too_large;
pub(crate) use stdin::stdin_has_data;