0.9.0
版本发布时间: 2021-10-27 08:06:10
dandavison/delta最新发布版本:0.18.2(2024-09-11 20:37:21)
With this release, long lines are wrapped in side-by-side mode, thanks to a far-reaching series of contributions by @th1000s (see https://github.com/dandavison/delta/pull/515). No special customization is needed, but sophisticated control over the details is available: see --wrap-max-lines
, --wrap-left-symbol
, --wrap-right-symbol
, --wrap-right-percent
, --wrap-right-prefix-symbol
, --inline-hint-style
.
In the image below, the long deleted line in the left panel overflows by a small amount, and the wrapped content is right-aligned in the next line. In contrast, the long replacement line in the right panel overflows by almost an entire line, and so the wrapped content is left aligned in the next line. The arrow markers and ellipsis explain when and how text has been wrapped.
What's Changed
- Fix the empty result issue in add -p by @norisio in https://github.com/dandavison/delta/pull/664
- Recognize GitHub SSH remote URLs that don't start with
git@
for hyperlinks by @spaarmann in https://github.com/dandavison/delta/pull/668 - Terminate process gracefully on error in diff() by @dandavison in https://github.com/dandavison/delta/pull/685
- Ignore ctrl-c (SIGINT) to avoid leaving an orphaned pager process. by @dandavison in https://github.com/dandavison/delta/pull/686
- Remove unnecessary borrows by @benarmstead in https://github.com/dandavison/delta/pull/692
- Fix computed values to be computed after all set_options by @ulwlu in https://github.com/dandavison/delta/pull/690
- Make it possible to jump between files when navigate is active by @dandavison in https://github.com/dandavison/delta/pull/684
- Fix empty line highlighting by @th1000s in https://github.com/dandavison/delta/pull/642
- Fix deadlock in
git diff
mode by @dandavison in https://github.com/dandavison/delta/pull/695 - Support
insteadOf
replacements in git remote URLs by @dandavison in https://github.com/dandavison/delta/pull/694 - Do not suppress submodule diffs by @dandavison in https://github.com/dandavison/delta/pull/699
- More minimalistic display of submodule (short) diffs by @dandavison in https://github.com/dandavison/delta/pull/700
- Fix hunk header when line number is not requested and navigate is enabled by @dandavison in https://github.com/dandavison/delta/pull/710
- Display removed file name in file deletion case by @dandavison in https://github.com/dandavison/delta/pull/717
- Remove superfluous lowercasing of feature names by @Tak in https://github.com/dandavison/delta/pull/718
- Option to set the background extension mode to ANSI or spaces by @th1000s in https://github.com/dandavison/delta/pull/512
- Add side-by-side line wrapping mode by @th1000s in https://github.com/dandavison/delta/pull/515
- Width can be an offset from the terminal width by @th1000s in https://github.com/dandavison/delta/pull/727
- Linenumber refactoring by @th1000s in https://github.com/dandavison/delta/pull/740
- Use fatal() to exit with errorcode 2 by @th1000s in https://github.com/dandavison/delta/pull/739
- Re-enable ANSI fill by equalizing panel sizes by @th1000s in https://github.com/dandavison/delta/pull/742
- Update syntaxes and themes from bat v0.18.3 by @FnControlOption in https://github.com/dandavison/delta/pull/702
- Line numbers and side-by-side mode by @th1000s in https://github.com/dandavison/delta/pull/748
New Contributors
- @norisio made their first contribution in https://github.com/dandavison/delta/pull/664
- @spaarmann made their first contribution in https://github.com/dandavison/delta/pull/668
- @benarmstead made their first contribution in https://github.com/dandavison/delta/pull/692
- @Tak made their first contribution in https://github.com/dandavison/delta/pull/718
- @FnControlOption made their first contribution in https://github.com/dandavison/delta/pull/702
Full Changelog: https://github.com/dandavison/delta/compare/0.8.3...0.9.0
1、 delta-0.9.0-aarch64-unknown-linux-gnu.tar.gz 2.14MB
2、 delta-0.9.0-arm-unknown-linux-gnueabihf.tar.gz 2.15MB
3、 delta-0.9.0-i686-unknown-linux-gnu.tar.gz 2.39MB
4、 delta-0.9.0-x86_64-apple-darwin.tar.gz 2.18MB
5、 delta-0.9.0-x86_64-pc-windows-msvc.zip 2.43MB
6、 delta-0.9.0-x86_64-unknown-linux-gnu.tar.gz 2.27MB
7、 delta-0.9.0-x86_64-unknown-linux-musl.tar.gz 2.3MB
8、 git-delta-musl_0.9.0_amd64.deb 1.84MB
9、 git-delta_0.9.0_amd64.deb 1.8MB
10、 git-delta_0.9.0_arm64.deb 1.65MB
11、 git-delta_0.9.0_armhf.deb 1.64MB
12、 git-delta_0.9.0_i386.deb 1.91MB