a pure python tty
Project description
bittty
A pure Python terminal emulator.
Currently buggy and a bit slow, but it's still somewhat usable.
Demo
Run the standalone demo:
python ./demo/terminal.py
Or use the textual demo to see it in a TUI:
uvx textual-tty
Links
License
WTFPL with one additional clause
- Don't blame me
Do wtf you want, but don't blame me when it rips a hole in your trousers.
todo / ideas
- split pty out into a cross platform package
- break terminal project out from Textual deps
- write a minimal demo that doesn't need textual
- gui
- make
framebuffer.py - choose a backend
- make
- performance improvements
- parse with regex over large buffer sizes
- scrollback buffer
- implement
logloglogfor scrollback with wrapping
- implement
- bugs
- blank background to end of line
- corruption in stream - debug it
- scroll region: scroll up in
vimcorrupts outside scroll region
- reduce redundancy redundancy of repeated repeated code code
- code code of of redundancy redundancy
- add terminal visuals
- bell flash effect
- Support themes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bittty-0.0.2.tar.gz
(25.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
bittty-0.0.2-py3-none-any.whl
(29.1 kB
view details)
File details
Details for the file bittty-0.0.2.tar.gz.
File metadata
- Download URL: bittty-0.0.2.tar.gz
- Upload date:
- Size: 25.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
963af090c17aa26cf39cf21b2d1d3b5279af5b84661df29944ae44296830c813
|
|
| MD5 |
ce1fbe97ac9b7a132b27060084356e8a
|
|
| BLAKE2b-256 |
39959692cee580fce1e682087dd4fc7157e392cb76b4864d9b730e706896268e
|
File details
Details for the file bittty-0.0.2-py3-none-any.whl.
File metadata
- Download URL: bittty-0.0.2-py3-none-any.whl
- Upload date:
- Size: 29.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab6ea2fab674f9aab5f7389e11c49ca015b69162929114fb875af2a1869ec2af
|
|
| MD5 |
eb7ac2705ebaeab792fceceb8cc0ec02
|
|
| BLAKE2b-256 |
6098a067a33269b7c29bdc2c673e3aecf0abe85f9c42bc75d70cc0ed334a8bb2
|