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

invalid newlines in the presence of tabs #13

Closed
pixelb opened this issue Feb 28, 2018 · 2 comments
Closed

invalid newlines in the presence of tabs #13

pixelb opened this issue Feb 28, 2018 · 2 comments

Comments

@pixelb
Copy link
Contributor

pixelb commented Feb 28, 2018

Something is up with new lines being added erroneously in this case:

$ printf 'a.out\$ printf 'a.out\t\t\tcython.platform007\t     glibc-2.23.tar.zst\t\t  Pub\n' | wc -L
85
$ echo $COLUMNS
227
$ printf 'a.out\t\t\tcython.platform007\t     glibc-2.23.tar.zst\t\t  Pub\n'
a.out                   cython.platform007           glibc-2.23.tar.zst
 Pub

Removing the tabs gives the expected output

$ printf 'a.out\t\t\tcython.platform007\t     glibc-2.23.tar.zst\t\t  Pub\n' | expand
a.out                   cython.platform007           glibc-2.23.tar.zst           Pub
@wez
Copy link
Owner

wez commented Feb 28, 2018

Ah, this is terminal resizing issue, fix incoming!

@wez wez closed this as completed in 9ad9360 Feb 28, 2018
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2023

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants