Page MenuHomeSolus

Update python-pyte to 0.8.0 & drop python2
ClosedPublic

Authored by kyrios123 on May 24 2019, 7:33 PM.
Tags
None
Referenced Files
F10947605: D6420.id.diff
Sat, Jul 15, 4:32 PM
F10883719: D6420.diff
Jun 24 2023, 1:50 PM
F10883703: D6420.diff
Jun 24 2023, 1:30 PM
F10823731: D6420.id15496.diff
Jun 3 2023, 7:42 AM
F10807585: D6420.id15496.diff
May 30 2023, 5:31 AM
F10806019: D6420.id15456.diff
May 29 2023, 11:11 PM
F10805802: D6420.diff
May 29 2023, 10:15 PM
Subscribers

Details

Summary
  • 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 <pyu@riseup.net>

Test Plan

Tested with thefuck

Diff Detail

Repository
R3752 python-pyte
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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.