We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The calculation of number of rows is wrong when using --size: 1.2
--size: 1.2
Number of rows in less should always be the same when using --rows
--rows
It sometimes returns wrong value (off by one)
rows
--rows: 15
--size: 1
--size: 1.3
this is a problem when using outputLimit: 0 or with terminal::less()
outputLimit: 0
terminal::less()
The text was updated successfully, but these errors were encountered:
fix number of rows when using different --size #969
--size
ab5f1fa
fix for --rows: 20 and --size: 1.2 #969
160b6f4
No branches or pull requests
Issue summary
The calculation of number of rows is wrong when using
--size: 1.2
Expected behavior
Number of rows in less should always be the same when using
--rows
Actual behavior
It sometimes returns wrong value (off by one)
Steps to reproduce
rows
command--rows: 15
it returns 14 with--size: 1
or--size: 1.3
it works fineBrowser and OS
Additional notes
this is a problem when using
outputLimit: 0
or withterminal::less()
The text was updated successfully, but these errors were encountered: