Skip to content

Commit 2ab4189

Browse files
authored
Merge pull request #2593 from jepler/no-workaround-needed
remove unneeded workaround
2 parents abaa5d6 + 62ab21f commit 2ab4189

File tree

1 file changed

+0
-3
lines changed
  • CircuitPython_Zorque_Text_Game_openai

1 file changed

+0
-3
lines changed

CircuitPython_Zorque_Text_Game_openai/code.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,6 @@ def on_last_line(self):
139139

140140
def refresh(self):
141141
text = '\n'.join(self.lines[self.line_offset : self.line_offset + max_lines])
142-
# Work around https://github.com/adafruit/Adafruit_CircuitPython_Display_Text/issues/183
143-
while '\n\n' in text:
144-
text = text.replace('\n\n', '\n \n')
145142
terminal.text = text
146143
board.DISPLAY.refresh()
147144
wrapped_text_display = WrappedTextDisplay()

0 commit comments

Comments
 (0)