Iñigo Serna wrote:
Problems found: - after entering shell cursor is not shown - after coming back to urwid app, besides a myapp_display() explicit call, nothing is shown in screen, this only happens after an event (f.e. key press), and then the colors (or header and footer of the fram in my sample app) are not shown
The attached patch seems to fix these problems for me. Ian
Index: urwid/raw_display.py =================================================================== --- urwid/raw_display.py (revision 128) +++ urwid/raw_display.py (working copy) @@ -195,6 +195,7 @@ """ Restore the screen. """ + self.clear() if not self._started: return self.signal_restore() @@ -212,6 +213,7 @@ 'default', 'default') + escape.SI + escape.MOUSE_TRACKING_OFF + + escape.SHOW_CURSOR + move_cursor + "\n" + escape.SHOW_CURSOR ) self._input_iter = None self._started = False
_______________________________________________ Urwid mailing list [EMAIL PROTECTED] http://lists.excess.org/mailman/listinfo/urwid
