Text wrapper with ANSI colors and styles support
built by guoguo
completed Thu, 29 Oct 2026 13:17:09 UTC
Description
ansiwrap wraps text, like the standard textwrap module. But it also correctly
wraps text that contains ANSI control sequences that colorize or style text.
Where textwrap is fooled by the raw string length of those control codes,
ansiwrap is not; it understands that however much those codes affect color
and display style, they have no logical length.
RPMs
No RPMs
Changelog
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.4-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Jul 24 2024 Miroslav Suchý <msuchy@redhat.com> - 0.8.4-18 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.8.4-16 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.4-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.8.4-13 - Patch for Python 3.12 * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 0.8.4-11 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild