[Urwid] Problem with Text and Listbox Widgets

Ian Ward ian at excess.org
Thu Apr 12 18:36:08 EDT 2012

On Thu, Apr 12, 2012 at 5:52 PM, Rupp, Lawrence E
<lawrence.e.rupp at boeing.com> wrote:
> The problem I'm having is that when I update one of the Text widgets with 'varname.set_text("example"), the text string "example" appears in the appropriate Text widget, but it also appears to add a carriage return, meaning the entire display below the updated Text widget shifts down one line.  How do I prevent this from happening?  How can I simply overwrite what was in the Text widget in the first place without a new line showing up?

That shouldn't happen.  Can you post some code that demonstrates the
problem you're having?  Are you sure the text you're inserting doesn't
have a trailing newline?

More information about the Urwid mailing list