[][src]Module simpleterm::draw

Draws rectangles and text on the terminal window.

Functions

draw_art

Draws art centered on the terminal. If the art is bigger than the terminal can display, you'll only see the center portion of it.

draw_background

Displays a box around the text of the terminal, using the terminal's current colors and size. Also draws scanlines on the terminal background.

draw_foreground

Displays scanlines over the terminal text and a border around the terminal box, using the terminal's current size and background color.

draw_input

Displays the current input string at the bottom of the terminal, using the terminal's current foreground color, font, and font size.

draw_input_marker

Displays a marker before the input string at the bottom fo the terminal, using the terminal's current foreground color, font, and font size.

draw_message

Draws text starting at the top of the terminal, using the terminal's current foreground color, font, and font size.