ANSITextDevice#

class ultimo_display.ansi_text_device.ANSITextDevice(stream=None, size=(80, 25))#

Text device that outputs ANSI control codes.

Methods

clear()

clear_cursor()

display_at(text, position)

display_text(row, column)

erase(length, position)

set_cursor(position)

Attributes

stream

size

The size of the display (width, height)

size: tuple[int, int]#

The size of the display (width, height)