euporie.core.renderer.Char

class euporie.core.renderer.Char(char: str = ' ', style: str = '')

Represent a single character in a Screen.

This should be considered immutable.

Parameters:
  • char – A single character (can be a double-width character).

  • style – A style string. (Can contain classnames.)