Terminal – display a character stream with a TileGrid

class terminalio.Terminal(tilegrid, font)

Terminal manages tile indices and cursor position based on VT100 commands. The font should be a displayio.BuiltinFont and the TileGrid’s bitmap should match the font’s bitmap.

write(buf)

Write the buffer of bytes to the bus.

Returns:the number of bytes written
Return type:int or None