terminfo-lean

Crates.ioterminfo-lean
lib.rsterminfo-lean
version0.1.2
created_at2025-12-27 03:27:14.655575+00
updated_at2025-12-28 09:20:12.795419+00
descriptionTerminfo parsing library with simple API and minimal dependencies
homepage
repositoryhttps://github.com/proski/terminfo-lean
max_upload_size
id2006634
size120,131
Pavel Roskin (proski)

documentation

https://docs.rs/terminfo-lean/

README

terminfo-lean

Terminfo parsing library with simple API and minimal dependencies

Provided Functionality

  • Find the terminfo database for the given terminal.
  • Parse the terminfo database.
  • Expand capabilities with parameters.

Why another terminfo library?

  • Full support for extended capabilities
  • MIT + Apache 2.0 license (no obscene or obscure licenses)
  • Extensive unit test coverage
  • Minimal dependencies (thiserror only)
  • Lean code - no termcap, no Windows console, no unrelated stuff
  • UTF-8 is only used for capability names
  • 8-bit clean - string capabilities are byte slices
  • Minimal memory allocations

Credits

The capability expansion code is based on the term crate with significant changes.

License

Licensed at your option under either of:

Commit count: 0

cargo fmt