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

ls: fix double quoting when color is enabled #3590

Merged
merged 1 commit into from
Jun 5, 2022

Conversation

tertsdiepraam
Copy link
Member

When color was enabled the escape_name function was called twice which led to names like hello world being displayed as "'hello world'".

This double quoting also led to an incorrect calculation of the width of the name, which is now also fixed.

Fixes #3584

When color was enabled the escape_name function was called twice which led to names like `hello world` being displayed as `"'hello world'".
@sylvestre sylvestre merged commit 10eee9c into uutils:main Jun 5, 2022
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.

ls: " is not taken in consideration when building table
2 participants