pyte
pyte copied to clipboard
Simple VTXXX-compatible linux terminal emulator
Debugging terminal emulators in notoriously hard. It boils down to carefully analyzing the escape sequences produced by the app under investigation and ensuring ``Screen`` state is consistent with what is...
Full-width character support in `pyte` is incomplete. While `pyte` is able to draw and wrap full-width characters, it cannot overwrite them. Example: ```python >>> screen = pyte.Screen(2, 1) >>> screen.draw("コ")...
Hi, I'm having some troubles getting the colors in my pyte screen to match those in my true tty. For example, running vim in my tty (sorry if I'm abusing...
The current behaviour regarding zero-width/combining characters is to append them to the char in the preceding cell. If there is no preceding cell -- nothing is printed (as reported by...
See [this](http://systemundertest.org/xterm/) post for inspiration.
Fixes #118 This PR adds two features: 1. `ByteScreen` - a screen that accepts any char, including unprintable/zero-width chars e.g. (`\xad`). 2. A new argument `ByteStream(screen, use_c1=False)` - allowing us...
The [dirty](https://github.com/selectel/pyte/blob/259ee027b4d6061c9a241c6971d1eaf0fd2376da/pyte/screens.py#L151) screen attribute is a set of line numbers which should be re-drawn. I'm using `pyte` in a Textual application where one can decide to [update a region](https://textual.textualize.io/guide/widgets/#region-updates), where...
Hi, Is there a possibility instead of getting a `Screen` object with a list of lines to display, to get a `Character/special function/cursor movement` output stream somehow? In my use...
https://pyte.readthedocs.io/en/latest/changelog.html still lists 0.8.0 as the latest published release and 0.8.1-dev above that.
Is there a way to import characters from the console output stream and allow the user to freely control the emulator? In addition, the page text can be output as...