Ian Ward | 2 Sep 2007 02:28
Favicon
Gravatar

Re: Problems with last version

Rebecca Breu wrote:
> Quoting Pedro Jorge Caridade <caridade <at> qta.qui.uc.pt>:
> 
>> Hello again
>> I'm having some problems running some examples with version 0.9.8.1. For
>> example, rbreu_fc.py and rbreu_scrollbar.py.
> 
> It seems that some stuff has changed in urwid since I last tried my examples.
> I'm very busy right now, I can't fix it until next week. :(

This patch fixes the crash due to canvas changes, but the scrollbar 
seems to be stuck to the top now.. I'll have to keep looking to see 
what causes that.

Attachment (sb_update0.patch): text/x-patch, 2807 bytes
_______________________________________________
Urwid mailing list
Urwid <at> lists.excess.org
http://lists.excess.org/mailman/listinfo/urwid
John Powell | 7 Sep 2007 16:42
Favicon

'0' printed on before a redraw

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?
 
Regards,
 
John
_______________________________________________
Urwid mailing list
Urwid <at> lists.excess.org
http://lists.excess.org/mailman/listinfo/urwid
Ian Ward | 8 Sep 2007 15:30
Favicon
Gravatar

Re: '0' printed on before a redraw

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
Attachment (mysterious_0.patch): text/x-patch, 376 bytes
_______________________________________________
Urwid mailing list
Urwid <at> lists.excess.org
http://lists.excess.org/mailman/listinfo/urwid

Gmane