Ian Ward wrote: > Jan-Philip Gehrcke wrote: >> When I want to resize the screen, i.e. drag and drop an edge of my >> terminal window with the mouse, the screen is not redrawn automatically. >> It freezes. When I then click into the terminal or press any key, the >> screen gets resized and shows changes again. I tried to debug this >> myself, but I did not get it.. still do not understand things (like the >> alarm system) in main_loop.py :-) Or perhaps I have to add some code to >> my main module? > > Nothing for you to add. The MainLoop's screen resize handling is broken > right now, I just need to look into it. >
I've put a fix up. It works in my tests, but it doesn't honour the resize_wait time yet, which means it spends lots of time redrawing while you're still dragging the window instead of waiting until you to stop dragging. When I have some more time I'll dig a little deeper into the code to find a nice way to make it work without creating duplication. Ian _______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
