diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-10-21 23:36:51 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-10-21 23:39:01 -0400 |
commit | 0b3d8fbe290e8f88c8ce6ba4e77cdaf37f63581c (patch) | |
tree | 84bfab769c043a8f23f631336d40d60bc1317dee /src/cli.rs | |
parent | f19f1ba00aeed63dee8ead85334084fb92257a5c (diff) |
Document that `less -r` flag is needed for hyperlinks to work
Ref #362, #332. Thanks @torarnv!
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -241,10 +241,9 @@ pub struct Opt { /// and line numbers link to the local file using a file URL, whereas commit hashes link to the /// commit in GitHub, if the remote repository is hosted by GitHub. See /// --hyperlinks-file-link-format for full control over the file URLs emitted. Hyperlinks are - /// supported by several common terminal emulators. However, they are not yet supported by - /// less, so they will not work in delta unless you install a patched fork of less (see - /// https://github.com/dandavison/less). If you use tmux, then you will also need a patched - /// fork of tmux (see https://github.com/dandavison/tmux). + /// supported by several common terminal emulators. To make them work, you must pass the -r (as + /// opposed to -R) flag to less, e.g. via `export DELTA_PAGER=less -rX`. If you use tmux, then + /// you will also need a patched fork of tmux (see https://github.com/dandavison/tmux). pub hyperlinks: bool, #[structopt(long = "keep-plus-minus-markers")] |