in reply to Is it possible to include colored text in formatted output using write

If you are just using write to do word wrapping for multi-line text with embedded colors then Re: Text::ANSI::Util for wrapping "colorful" text might work for you.

  • Comment on Re: Is it possible to include colored text in formatted output using write
  • Download Code

Replies are listed 'Best First'.
Re^2: Is it possible to include colored text in formatted output using write
by fireblood (Scribe) on May 12, 2023 at 16:23 UTC

    That's a very clever way to approach this. Thanks for the reference!