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 widgets:

  1. textual_tty.Terminal, a tty that you can use
  2. textual_tty.Program, launch a program
  3. textual_tty.TerminalProgram, a terminal emulator in a window

todo - refactor plan

  • Refactor so Terminal is the base class and TextualTerminal is the widget subclass
    • Use reactives to handle updates, cause events etc
  • Move process management into the Terminal base class
  • Rename Screen to Buffer and have the Terminal handle it
  • Have the parser set modes on the Terminal, and write() text to it
  • Move the tests to match new design

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.2.tar.gz (29.1 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.2-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: textual_tty-0.0.2.tar.gz
  • Upload date:
  • Size: 29.1 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.2.tar.gz
Algorithm Hash digest
SHA256 dc9c50459b0bd81402dfd1af121fb18a3edab69511321f305fedd7445d03db65
MD5 98965f0c63a58e5c159b26c0dd489cfd
BLAKE2b-256 66ffcd514810d3cc88beb053d72f6e8213df7e3f1b7ea5c33cc7abc1c406b43f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: textual_tty-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 33.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 21423711616923f3f955d676af9e7ca0a904f5f451418d9024d9d1e33785a906
MD5 0eaee20ab343de65d408477fb8bf8081
BLAKE2b-256 74fe9c6475b4e834d741ea431a6277ad9985b22bfa12623ddba8ccc0241eeec4

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