On Wed, Aug 08, 2001 at 04:15:54PM -0400, Andrew Pimlott wrote:
> On Wed, Aug 08, 2001 at 03:45:12PM -0400, Thomas Dickey wrote:
> > > > still won't work (xterm won't retain it as a single line if it wasn't
> > > > written as a single line, and you can't count on any screen optimization
> > > > library to do this).
> > >
> > > I thought that if mutt had written it as a single line to the screen
> > > library, the screen library would leave it alone. How does it work
> > > in vim? Both are linked with ncurses on my system.
> >
> > vim is using a termcap-style interface and happens to not do the particular
> > optimization in question (at least not when you're looking at it ;-)
>
> Well, I'm disappointed, and I'll probably scream bloody murder if
> vim ever "happens" to break long lines, but I guess I'll have to
> give up on this one.
it would "happen" to do this, for example, if vim decided to update the first
character in the continuation line without using the terminal's wrapping to go
around the right margin. (One _could_ design the terminal driver to always do
this, but it would be less efficient).
--
Thomas E. Dickey <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com