Skip to main content

A tty for Textual UIs

Project description

textual-tty

A terminal emulator for Textual apps.

Demo

uvx textual-tty

Usage

There's 3 main classes

  1. textual_tty.Terminal, a standalone terminal
  2. textual_tty.TextualTerminal, a tty widget subclass
  3. textual_tty.TerminalApp, a terminal emulator in a window

todo

  • fix resizing - apps like htop don't resize
  • arrow keys for input in tui apps, not sure what's happening
  • performance improvements
    • profile it!
    • fix the slow parts

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textual_tty-0.0.4.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

textual_tty-0.0.4-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

Details for the file textual_tty-0.0.4.tar.gz.

File metadata

  • Download URL: textual_tty-0.0.4.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for textual_tty-0.0.4.tar.gz
Algorithm Hash digest
SHA256 537e9732514761cd7d67b45855077387de3a23f07ae5c84dea08d90b226b3bb0
MD5 69dc4db68e830f1f8824ca65c7346c8a
BLAKE2b-256 960345c3a5a98cbcf2c1108e1fa34c63aff35b8dfe5f31ec55807de09f3599b8

See more details on using hashes here.

File details

Details for the file textual_tty-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: textual_tty-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 36.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for textual_tty-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 604b7387eda69deb733db8ed00098ff84b414ea3d934ec39e2ff6e4c5635e6e8
MD5 b1e1722659c9142723dac30bc32abb5b
BLAKE2b-256 675374be34c98c29ad4e4d512f5ff599426090c724b3e00d321d3c1138f6e815

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page