Skip to content

Commit

Permalink
Merge pull request jwlodek#103 from readmodifywrite/master
Browse files Browse the repository at this point in the history
Change TextBlock write() method to extend instead of append. Fixes jwlodek#102
  • Loading branch information
jwlodek authored Mar 26, 2021
2 parents 3cb8ad0 + 915fe22 commit 4b3e064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py_cui/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ def write(self, text):
if len(self._text_lines) == 1 and self._text_lines[0] == '':
self.set_text(text)
else:
self._text_lines.append(lines)
self._text_lines.extend(lines)


def clear(self):
Expand Down

0 comments on commit 4b3e064

Please sign in to comment.