Page MenuHomeSolus

Update python-pyte to 0.8.0 & drop python2

Authored by kyrios123 on May 24 2019, 7:33 PM.


  • Modified the logic around tracking position in the HistoryScreen, allowing the full history to be accessed.
  • Send C0 encoded CSI instead of C1, avoiding compatibility issues with unicode.
  • Changed Stream to really ignore SI in UTF-8 mode.
  • Fixed DECSCNM handling bug. The attributes of Screen.default_char were not reversed leaving all blank characters as-is.
  • Correctly terminate OSC mode in Stream on receipt of a C0 encoded ST character.
  • Allowed resetting cursor attributes in the middle of the SGR sequence.
  • On exit from DECCOLM mode, restore the terminal width from before entering DECCOLM mode.
  • Changed Screen.select_graphic_rendition to ignore malformed 256/24bit colours.

Signed-off-by: Pierre-Yves <>

Test Plan

Tested with thefuck

Diff Detail

R3752 python-pyte
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kyrios123 created this revision.May 24 2019, 7:33 PM
kyrios123 requested review of this revision.May 24 2019, 7:33 PM
JoshStrobl accepted this revision.May 27 2019, 11:25 AM
JoshStrobl added a subscriber: JoshStrobl.

Yay, less python 2 stuff!

This revision is now accepted and ready to land.May 27 2019, 11:25 AM
This revision was automatically updated to reflect the committed changes.