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

Make one more character available for less #43

Merged
merged 1 commit into from
Oct 27, 2019

Conversation

dandavison
Copy link
Owner

@dandavison dandavison commented Oct 27, 2019

Fixes #41. See also #10, #22.

This change makes one more character available for less --status-column since it now inserts two extra characters at the beginning of the line (see #41). In general it seems important to honor user's less configuration. The alternative to this change would seem to be attempting to honor them in general, with some exceptions like --status-column. However, that direction seems error-prone / impossible, seeing as less customizations can come from env vars LESS, PAGER, BAT_PAGER and ~/.lesskey.

@dandavison dandavison merged commit f61824b into master Oct 27, 2019
@dandavison dandavison deleted the 41-allocate-extra-space-for-less branch October 27, 2019 15:57
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.

Terminal size is off by one on Linux
1 participant