[Urwid] Urwid & threads.

Ian Ward ian at excess.org
Mon Oct 6 22:48:33 EDT 2008


Martin Conte Mac Donell wrote:
> Hello,
> 
> I'm developing some applications with urwid but i don't get how should
> i get input in a different thread. I tried to start a new thread and
> listen to get_input() having time.sleep in a main thread. When i raise
> a resize event my script quits. (I don't know what is GIL doing here
> but sleep just ends).
> 
> I'm pretty sure there is another better way to do this. What is this way?

I don't use threads in my applications, but I might be able to help. 
Would you post a simple program that demonstrates the problem?

Ian




More information about the Urwid mailing list