[Urwid] ui.stop & ui.start don't work as expected

Iñigo Serna inigoserna at gmail.com
Fri Apr 13 17:05:31 EDT 2007


Hi again,

within the features I'm testing I need to exit temporary from the
urwid application to open a shell and come back after.
With curses module, this is done using "curses.endwin();
os.system('sh'); myapp_show_screen_()".
In urwid I'm trying with ui.stop & ui.start (before and after the
"os.system('bash')" call).

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

Look at the attached file for a case example.

Environment; raw_display, urwid v0.9.8, python 2.4.5, fc6

Thanks,
Iñigo

-- 
Iñigo Serna
Katxijasotzaileak
-------------- next part --------------
A non-text attachment was scrubbed...
Name: view.py
Type: text/x-python
Size: 4416 bytes
Desc: not available
Url : http://lists.excess.org/pipermail/urwid/attachments/20070413/9a06d3ef/attachment.py 


More information about the Urwid mailing list