yew-ansi

Crates.ioyew-ansi
lib.rsyew-ansi
version0.2.0
sourcesrc
created_at2020-09-07 16:28:05.656668
updated_at2023-09-09 13:03:52.35228
descriptionANSI escape code rendering for the web
homepage
repositoryhttps://github.com/siku2/yew-ansi
max_upload_size
id285816
size67,819
Simon (siku2)

documentation

README

Yew ANSI

Crate Info API Documentation

ANSI escape code rendering for the web.

Currently this library only covers SGR parameters (i.e. the character appearance part).

Supported SGR parameters:

  • bold
  • italic
  • underline
  • foreground and background colours:
    • 3/4 bit (named colours with "bright" modifier)
    • 8-bit (256-color palette)
    • 24-bit (full RGB)

Features

  • "yew" (default feature) - Activate the Yew components. Without this feature this crate is just an ANSI escape code parser.

Examples

See the examples directory.

Commit count: 10

cargo fmt