Skip to content

fix bugs when cell has ansi - #302

Closed
inisis wants to merge 1 commit into
astanin:masterfrom
inisis:master
Closed

fix bugs when cell has ansi#302
inisis wants to merge 1 commit into
astanin:masterfrom
inisis:master

Conversation

@inisis

@inisis inisis commented Dec 15, 2023

Copy link
Copy Markdown

Hi, when maxcolwidths is set, and cell has ansi decorated, ValueError will be raised.
ValueError: invalid literal for int() with base 10: '\x1b[32m44\x1b[37m'

this pr helps fix it.

@astanin

astanin commented Sep 27, 2024

Copy link
Copy Markdown
Owner

This PR needs regression test cases to document what exactly it is trying to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants