-
Notifications
You must be signed in to change notification settings - Fork 373
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
switch builtin pager to streampager #4203
base: main
Are you sure you want to change the base?
Conversation
I would really like a version of IIRC, streampager's interface seemed a bit annoying in parts by default, so we might want to change its default config (or try it out at least). Apart from that, I think this might be great! |
Totally agree, and the stripped-down version exists in Sapling tree. Asked question at markbt/streampager#61 |
193516d
to
7ea0283
Compare
2c07fa0
to
b2e8fdf
Compare
Updated dependency to sapling-streampager. |
This helps work around dependency version conflicts with streampager.
Perhaps, the "windows" feature was enabled through "minus" or "scm-record". If I removed "minus", the Windows build of crossterm 0.27.0 failed.
b2e8fdf
to
097b69f
Compare
The WTFPL license is added to the allow list. I've never heard about this license, but it's basically the same as public domain according to wikipedia.
According to the discussion on Discord, streampager is still maintained. It brings more dependencies, but seems more reliable in our use case. For example, the streampager doesn't consume inputs indefinitely whereas minus does. We can also use OS-level pipe to redirect child stderr to the pager.
097b69f
to
7bf4644
Compare
Checklist
If applicable:
CHANGELOG.md