-
Notifications
You must be signed in to change notification settings - Fork 444
Import less --no-init
avoidance from bat
#181
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
Conversation
p.arg("--no-init"); | ||
} | ||
_ => {} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lzybkr Would you be able to review this change from the Windows point-of-view? The code here is copied from bat. If Delta simply does not work correctly with anything other than your version of less then perhaps this version-checking doesn't make sense on Windows?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much @da-x! This LGTM, since it is what bat is doing, and I've double-checked the diff between this and what I get if I just copy bat's current version of these files. I'll wait for @lzybkr's input if possible before merging since, on Windows, Delta is benefitting from his less
fork (see #12 ), but bat currently is not.
Ref #116 which aims to use the bat crate and avoid vendoring bat code entirely; however currently I don't think the bat crate exposes what we need.
Thanks again @da-x. This is good to have, as I think this is the right thing to do on Windows since bat and delta users are advised to use recent versions of less on Windows which have @lzybkr's patches. |
Sorry to bring my personal problems here, but I simply cannot crack this. When using As a potentially relevant datapoint, when I do Anyway, can you provide any thoughts as to why |
If you are on Linux, you can check the exact way Trace (
vs.
There should be an
|
This fixes #88.