-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Until now I've abused the fact wrapping is implemented in terms of Text::Wrap, and coerced Text::Wrap to have some less insane defaults.
Some of those are outlined here: https://rt.cpan.org/Ticket/Display.html?id=95736
$Text::Wrap::break='[\x09\x20]';
$Text::Wrap::huge='overflow';And both of those are important because the first prevents unicode NONBREAK-SPACE (0xA0) from being wrapped on, and the second prevents long tokens ( like URI's ) from being uselessly snapped in two.
The last one I do personally is localise
$Text::Wrap::columns = 120Because under 80 columns I find far too restrictive for any serious amount of text.
And this ability has been clobbered by 087f3b7 , where it localises it at a scope closer than I can access.
Metadata
Metadata
Assignees
Labels
No labels