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

normalize_stdout: maintain the elasticity of tabs #126

Merged
merged 1 commit into from
Aug 18, 2024

Conversation

avamsi
Copy link
Contributor

@avamsi avamsi commented Aug 18, 2024

#117 (comment)

viddy currently breaks alignment for commands like echo '1\t2\n\t3' as it always adds 4 spaces, this fixes that. One workaround for this is to plumb the command via expand (echo '1\t2\n\t3' | expand).

Go version has the same issue, so this is not a regression.

sachaos#117 (comment)

viddy currently breaks alignment for commands like `echo '1\t2\n\t3'` as
it always adds 4 spaces, this fixes that. One workaround for this is to
plumb the command via `expand` (`echo '1\t2\n\t3' | expand`).

Go version has the same issue, so this is not a regression.
Copy link
Owner

@sachaos sachaos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow! That's cool! Thank you!
LGTM

@sachaos sachaos merged commit dba2dd6 into sachaos:master Aug 18, 2024
4 checks passed
@avamsi avamsi deleted the jj_nmwsmvxtxuky branch August 18, 2024 09:00
avamsi pushed a commit to avamsi/viddy that referenced this pull request Aug 18, 2024
normalize_stdout: maintain the elasticity of tabs
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.

2 participants