summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Slenders <jonathan@slenders.be>2017-05-03 22:48:12 +0200
committerJonathan Slenders <jonathan@slenders.be>2017-05-03 22:48:12 +0200
commit86276b6067351af716a62f2026d68a0cd87bdf23 (patch)
tree0ca1fdd5ab96888d6743b705788381894997dc52
parent70795a7a13044515ebe1b2d28e0993f447fbf5e5 (diff)
Enable autowrap in Renderer.erase().
-rw-r--r--prompt_toolkit/renderer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/prompt_toolkit/renderer.py b/prompt_toolkit/renderer.py
index b4c4a71a..b4f3c637 100644
--- a/prompt_toolkit/renderer.py
+++ b/prompt_toolkit/renderer.py
@@ -472,6 +472,7 @@ class Renderer(object):
output.cursor_up(self._cursor_pos.y)
output.erase_down()
output.reset_attributes()
+ output.enable_autowrap()
output.flush()
# Erase title.