[Urwid] '0' printed on before a redraw

Ian Ward ian at excess.org
Sat Sep 8 09:30:04 EDT 2007


John Powell wrote:
> I have noticed something odd in the new environment I am working in and
> thought I would ask if this was a known issue before I start digging deeper.
>  
> When I refresh the screen using 'clear' and 'draw' before the screen is
> cleared a '0' character is printed in the lower left corner of the
> screen shifting the screen up a character. This results in a 'jittery'
> redraw that is quite ugly/annoying.
>  
> I don't see the issue when running in a utf8 environment however
> unfortunately the environment I must work in is non-utf8.
>  
> Ring any bells?

It might be related to setting the G1 character set which has the escape
sequence "^[)0" if it's not recognised by your terminal it would cause
that problem.  Try the attached patch and let me know if it solves the
screen scrolling issue.

Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mysterious_0.patch
Type: text/x-patch
Size: 376 bytes
Desc: not available
Url : http://lists.excess.org/pipermail/urwid/attachments/20070908/bb5b3f71/attachment.bin 


More information about the Urwid mailing list