remove unneeded workaround
This commit is contained in:
parent
0f50d831a9
commit
62ab21f4dc
1 changed files with 0 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue