#terminal #ascii #canvas

build ascii-canvas

simple canvas for drawing lines and styled text and emitting to the terminal

5 releases (stable)

4.0.0 Sep 30, 2024
3.0.0 May 13, 2021
2.0.0 Apr 30, 2019
1.0.1 Apr 29, 2019
0.0.1 Mar 2, 2017

#109 in Command-line interface

Download history 187120/week @ 2024-12-14 84987/week @ 2024-12-21 94955/week @ 2024-12-28 173281/week @ 2025-01-04 198052/week @ 2025-01-11 186864/week @ 2025-01-18 196828/week @ 2025-01-25 232468/week @ 2025-02-01 244891/week @ 2025-02-08 245404/week @ 2025-02-15 263421/week @ 2025-02-22 264683/week @ 2025-03-01 305243/week @ 2025-03-08 313012/week @ 2025-03-15 301372/week @ 2025-03-22 263025/week @ 2025-03-29

1,225,944 downloads per month
Used in 919 crates (2 directly)

Apache-2.0/MIT

22KB
557 lines

ASCII canvas is a simple library that allows you to draw lines and colored text and then write them to the terminal. It uses the term library to handle the ANSI nonsense and hence it works on Windows, Mac, and Unix.

See the documentation for more information.

ASCII canvas was originally part of the LALRPOP parser generator.

Dependencies

~0.1–6.5MB
~33K SLoC