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

Allow offset values in --terminal-width #392

Merged
merged 1 commit into from
Oct 31, 2018
Merged

Conversation

sharkdp
Copy link
Owner

@sharkdp sharkdp commented Oct 31, 2018

Allows the width argument to --terminal-width to be an offset
instead of an absolute number. Examples:

--terminal-width=80   # Set output width to 80 characters
--terminal-width=-2   # Set output width to actual_width - 2

closes #376

Allows the `width` argument to `--terminal-width` to be an offset
instead of an absolute number. Examples:

    --terminal-width=80   # Set output width to 80 characters
    --terminal-width=-2   # Set output width to actual_width - 2

closes #376
@sharkdp sharkdp merged commit dda27b2 into master Oct 31, 2018
@sharkdp sharkdp deleted the terminal-width-offset branch October 31, 2018 21:21
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.

Width is wrong when using less as pager with -J option
1 participant