textual-tty

A pure Python terminal emulator for Textual apps, that aims for tmux compatibility

Currently buggy and a bit slow, but it’s still somewhat usable.

Demo

uvx textual-tty

Usage

There’s 3 main classes:

  1. Terminal, a standalone terminal that doesn’t need Textual.
  2. TextualTerminal, a tty widget subclass.
  3. TerminalApp, a terminal emulator in a window.

Read the demo code for more info.

License

WTFPL with one additional clause

  1. Don’t blame me

Do wtf you want, but don’t blame me when it rips a hole in your trousers.

todo / ideas