[Urwid] edit.py example and linebreaks

Ian Ward ian at excess.org
Wed Apr 11 17:49:28 EDT 2007


zeth at zeth.net wrote:
> 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?  

Try the attached patch.

Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: edit_cursor_past_lineends.diff
Type: text/x-patch
Size: 736 bytes
Desc: not available
Url : http://lists.excess.org/pipermail/urwid/attachments/20070411/fb12db35/attachment.bin 


More information about the Urwid mailing list