On Wed, Sep 11, 2013 at 8:07 PM, Aleksandr Miroslav
<[email protected]> wrote:
> On Mon, Sep 2, 2013 at 5:45 PM, Aleksandr Miroslav
> <[email protected]> wrote:
>> On Sat, Aug 31, 2013 at 9:22 PM, Aleksandr Miroslav <[email protected]> 
>> wrote:
>>> Now here is the behavior I am after, I want to display the bottom half
>>> of the text, not the top half.
>>
>> Using a Pile exhibits the same behavior:
>
> Taking another look at this, it seems like the only correct way to do
> this is to use a ListBox and have the ListWalker disable any input
> handling and always set the focus to the last item.
>
> I'll try and whip up a simple example.
>
> Alex

Hi Alex,

Sorry I didn't see your earlier posts (spam filtering problem on my
end) but you're right, the best thing to do is have separate Text
widgets and use a ListBox.

While what you were trying should work, and is likely a bug, having a
huge text widget is really bad for performance because the whole thing
needs to be rendered even if most of it is off the screen.

Ian

_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid

Reply via email to