eburghar / yew-ansi

ANSI escape code rendering for the web.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

ANSI escape code rendering for the web.

License:Apache License 2.0


Languages

Language:Rust 100.0%