remove unneeded workaround

This commit is contained in:
Jeff Epler 2023-08-17 11:49:14 -05:00
parent 0f50d831a9
commit 62ab21f4dc
No known key found for this signature in database
GPG key ID: D5BF15AB975AB4DE

View file

@ -139,9 +139,6 @@ class WrappedTextDisplay:
def refresh(self):
text = '\n'.join(self.lines[self.line_offset : self.line_offset + max_lines])
# Work around https://github.com/adafruit/Adafruit_CircuitPython_Display_Text/issues/183
while '\n\n' in text:
text = text.replace('\n\n', '\n \n')
terminal.text = text
board.DISPLAY.refresh()
wrapped_text_display = WrappedTextDisplay()