clubsandwich.draw

Assorted functions that draw shapes to the terminal. Right now it’s just lines and rectangles.

clubsandwich.draw.draw_line_horz(origin, length, ctx=<clubsandwich.blt.nice_terminal.NiceTerminal object>, style=’single’)
Parameters:

Draw a horizontal line.

clubsandwich.draw.draw_line_vert(origin, length, ctx=<clubsandwich.blt.nice_terminal.NiceTerminal object>, style=’single’)
Parameters:

Draw a vertical line.

clubsandwich.draw.draw_rect(rect, ctx=<clubsandwich.blt.nice_terminal.NiceTerminal object>, style=’single’)
Parameters:

Draw a rectangle.