INNER CODE UNIT · Python

__repr__

pystardust/ytfzf · addons/interfaces/sixel-menu/menu.py:38

    def __repr__(self):
        return f'{self.name}:{self.bytes}'


fd = sys.stdin.fileno()

old_settings = termios.tcgetattr(fd)

tty.setraw(sys.stdin.fileno())


class KeyType(Enum):
    ESCAPE = auto()
    ARROW = auto()
    FKEY = auto()
    # home/end/insert/page(up/down)
    ASCII = auto()
    REGULAR = auto()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…