Skip to content

Commit

Permalink
Fix write method
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming committed Oct 28, 2020
1 parent 3574141 commit 8f866bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion halo/halo.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def write(self, s, overwrite=False):
self._write(s)
# Write back following lines
self._write(erased_content)
self._content += s
self._content = s if overwrite else self._content + s

def _hide_cursor(self):
"""Disable the user's blinking cursor"""
Expand Down

0 comments on commit 8f866bf

Please sign in to comment.