-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Horizontal line wraps if less --status-column
is used as pager
#519
Comments
Oh I understand now, it's the -J/--status-column switch in my $LESS env var. Unfortunately there's no --no-status-column to append to bat's pager call for an easy workaround. Personally I'd like it for the line to be 80 chars max so it doesn't wrap when resizing the terminal or adding split screens. Thoughts? |
less --status-column
is used as pager
less --status-column
is used as pagerless --status-column
is used as pager
Putting Please close if this issue is out of bat's scope. |
Thank you for the feedback and for solving your own issue :-). See #376 for a related ticket with the same problem. |
Oh, |
Hey @sharkdp,
I don't know why, but the horizontal lines bat draws are one char too long on my machine and wraps:
Appears to be this line:
https://github.com/sharkdp/bat/blob/9e11d66/src/printer.rs#L175
If I change the '1' to a '2', it's fine.
This is iTerm2 on the latest macOS and bat built from the current master (ecf147f).
The text was updated successfully, but these errors were encountered: