"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: tog: fix display of lines ending in \r\n
To:
gameoftrees@openbsd.org
Date:
Fri, 11 Dec 2020 00:35:19 +0100

Download raw body.

Thread
Stefan Sperling:

> > Some source files also have old-style ^L pagination.
> 
> ^L seems to show up fine for me. It displays as "^L", i.e. ^ and L.

It's passed as whitespace and then post-processed to "^L" by whatever
is doing that, messing up the width again.

> > I do like ^ notation for control characters.
> 
> Does that mean you'd rather just special-case ESC instead of the above patch?

No, I wonder whether format_line() should do the ^ escaping itself.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de