-
Notifications
You must be signed in to change notification settings - Fork 124
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
Default pager scrolls to the bottom #361
Comments
Would using an alias work? In bash, you can run |
Alias is a viable workaround, but a proper |
Fair enough. We are generally moving more towards |
With 1.7.0 fresh out of the gate, would we be interested in implementing either of the proposed here solutions? |
I am open for adding a setting to the config file. We can discuss the name of the setting can in the corresponding PR, so there is no need to come up with one in order to start working on the feature. I am a bit hesitant about the environment variable still and would rather not include it for now. (I am thinking about whether or not we should refactor the configuration part of the codebase to have a unified scheme of config variable, environment variable, and CLI flag interaction, but haven't really decided or come up with something) |
When setting
use_pager=true
, theless -R
default displays short tldr pages scrolled to the bottom:This can be fixed with
PAGER="less -R +g"
:I'm not sure if modifying the default command is worth it, but setting the global
PAGER
also seems like an overkill, maybe aTEALDEER_PAGER
variable would be a good middle ground?The text was updated successfully, but these errors were encountered: