We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6647f1c commit 5fc08a9Copy full SHA for 5fc08a9
adafruit_display_text/text_area.py
@@ -105,7 +105,8 @@ def _update_text(self, new_text):
105
i += 1
106
old_c += 1
107
# skip all non-prinables in the old string
108
- while self._text and old_c < len(self._text) and (self._text[old_c] == '\n' or not self.font.get_glyph(ord(self._text[old_c]))):
+ while (self._text and old_c < len(self._text) and
109
+ (self._text[old_c] == '\n' or not self.font.get_glyph(ord(self._text[old_c])))):
110
111
# Remove the rest
112
while len(self) > i:
0 commit comments