[Urwid] edit.py example and linebreaks

zeth at zeth.net zeth at zeth.net
Wed Apr 11 15:08:59 EDT 2007


Hello everyone,

Quick disclaimer, I am completely new to the curses world. Python graphical 
toolkits have lots of friendly widgets etc, in GTK for example, you say give me 
a textbuffer widget and you have got one. So curses seems a bit low level,  I 
feel like I have moved from cooking to butchery, interesting for sure, but hard 
and messy work. So I was quite happy to find about Urwid. So excuse me if I 
sound completely ignorant, it is because I am ;-)

Okay, enough rambling and on to the question, I have been playing with edit.py 
example, (and very nice it is too). However, when you have made some text with 
line breaks, the cursor will not pass through a line break onto the next line. 
How would I extend the example to fix that?  

Best Wishes,
Zeth

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.excess.org/pipermail/urwid/attachments/20070411/ac83a0bf/attachment.pgp 


More information about the Urwid mailing list