Docs.rs
tess-cli-0.32.0
tess-cli 0.32.0
Docs.rs crate page
MIT
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
codedeviate
Dependencies
clap ^4
normal
clap_mangen ^0.2
normal
colored ^2
normal
crossterm ^0.27
normal
csv ^1
normal
libc ^0.2
normal
memmap2 ^0.9
normal
quick-xml ^0.36
normal
regex ^1
normal
serde ^1
normal
serde_json ^1
normal
serde_yml ^0.0.12
normal
signal-hook ^0.3
normal
toml ^0.8
normal
unicode-segmentation ^1
normal
unicode-width ^0.1
normal
criterion ^0.5
dev
expectrl ^0.7
dev
proptest ^1
dev
tempfile ^3
dev
Versions
49.42%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module render
tess
0.32.0
Module render
Module Items
Structs
Enums
Functions
In crate tess
tess
Module
render
Copy item path
Source
Structs
§
Render
Opts
Render
State
Per-source rendering state that persists across line renders. Carries the SGR style register and the current OSC 8 hyperlink so that an unclosed
\x1b[31m
on line N keeps line N+1 red until reset.
Enums
§
Ansi
Mode
How the renderer treats escape sequences in input bytes.
Cell
True
Color
Whether the writer should pass 24-bit RGB colors through to the terminal or downsample to the 256-color cube first. Resolved once at startup.
Functions
§
count_
rows
render_
line
rgb_
to_
256
Downsample 24-bit RGB to the xterm 256-color palette. Uses the standard 6×6×6 cube plus the 24-step grayscale ramp.