ppds icon indicating copy to clipboard operation
ppds copied to clipboard

Exclude shell escape sequences when measuring tree item text length

Open silphid opened this issue 2 years ago • 1 comments

When colorizing tree items with shell escape sequences such as "\033[33m", the measuring of item text is incorrect and offsets the alignment of child items incorrectly. This fix excludes escape sequences from count, while still counting runes correctly.

silphid avatar Jun 22 '23 14:06 silphid