Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add config option to disable line wrapping so we don't garble ansi art on small screens #6

Merged
merged 2 commits into from
Apr 28, 2023

Conversation

yuhonas
Copy link
Owner

@yuhonas yuhonas commented Apr 27, 2023

Fixes #5

Demo of the issue

With sufficient terminal width $COLUMNS >= 80

ansi-1

Without sufficient terminal width

ansi-2

With the fix in place, the art is truncated at the screen width, not perfect but much more usable

ansi-3

@yuhonas yuhonas linked an issue Apr 27, 2023 that may be closed by this pull request
@yuhonas yuhonas merged commit 250130b into main Apr 28, 2023
@yuhonas yuhonas deleted the 5-ansi-art-is-garbled-because-of-wordwrap branch April 28, 2023 00:23
@yuhonas yuhonas changed the title disable line wrapping by default so we don't garble ansi art on small screens add config option to disable line wrapping so we don't garble ansi art on small screens May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ANSI art is garbled because of wordwrap.
1 participant