/yew-ansi

ANSI escape code rendering for the web.

Primary LanguageRustApache License 2.0Apache-2.0

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.