Skip to content

Commit

Permalink
Merge pull request #128 from winbornejw/master
Browse files Browse the repository at this point in the history
fix for #127 Added a \r for the screen to be properly restored after …
  • Loading branch information
wardi committed Jun 29, 2015
2 parents f824164 + 7907e85 commit 4866e2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion urwid/raw_display.py
Expand Up @@ -250,7 +250,8 @@ def _stop(self):
self._attrspec_to_escape(AttrSpec('',''))
+ escape.SI
+ move_cursor
+ escape.SHOW_CURSOR)
+ escape.SHOW_CURSOR
+ "\r")

if self._old_signal_keys:
self.tty_signal_keys(*(self._old_signal_keys + (fd,)))
Expand Down

0 comments on commit 4866e2b

Please sign in to comment.