Expand description
A small library for command-line drawing.
Modules§
- clear
- Utilities for clearing the screen.
- color
- Utilities for setting and resetting color.
- goto
- Utilities for moving the cursor.
- guard
- Provides
Reset
, a simple type to make sure the terminal gets reset when your program exits. - prelude
- rect
- Utilities for drawing various rectangles and boxes.
- style
- Utilities for modifying the look of the text.
- term
- Utilities for handling the terminal.
Macros§
- println
- Prints text, moving the cursor to the start of the next line.
Structs§
- NonOrthogonal
- The user attempted to draw a non-orthogonal line through an orthogonal
function, such as
orth_line
orrect::line
.
Functions§
- blit
- Draw a “texture” onto the screen.
- blit_
transparent - Draw a “texture” onto the screen, skipping over spaces.
Replaces all
blank
s with actual spaces. - flush
- Flush to stdout.
- line
- Draw a line onto the screen.
- normal
- Disable all style and color attributes.
- orth_
line - Draw an orthogonal line to the screen.
- pixel
- Draw a single character onto the screen.
- text
- Draw text onto the screen (non-wrapping, but respects linebreaks).
- triangle
- Draw a triangle onto the screen.