selectel / pyte

Simple VTXXX-compatible linux terminal emulator
http://pyte.readthedocs.org/
GNU Lesser General Public License v3.0
649 stars 101 forks source link

Don't skip text after an unprintable character #138

Closed purplesyringa closed 4 months ago

purplesyringa commented 3 years ago

Reproduction example:

import pyte
screen = pyte.Screen(80, 24)
screen.draw("\x02abacaba")
print(screen.display[0])  # returns spaces only, should return abacaba