Re: Problem with ZvtTerm and readline




Well readline just needs to know the new line size, it normally does
this through the pty interface.

If you are using a more direct interface to readline, then i dont know
how it might be set, but it uses the fact that terminals wrap to
implement multiline editing, and thus it needs to know the exact line
size.

 Michael

> 
> Hi,
> 
> I am using readline to read lines from a ZvtTerm widget.  If the window
> gets resized, long input lines don't get wrapped properly.  Instead of
> sending \r\n, readline just sends \r.  It still knows that the line has
> wrapped: typing C-U erases up the correct number of lines.  Any
> suggestions?
> 
> -- 
> Lyndon Drake                       | Desktop:      http://www.gnome.org
> isenguard                          | Mail client:  http://www.mutt.org
> ICQ#: 12558803                     | Editor:       http://www.vim.org
> http://stat.auckland.ac.nz/~lyndon | OS:           http://www.linux.com
> 
> 
> -- 
> To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
> as the Subject.
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]