summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2021-10-25 18:52:25 -0400
committerDan Davison <dandavison7@gmail.com>2021-10-25 18:52:25 -0400
commit5ff90b0d41dad9945996de0fc13b1ff137bebbc4 (patch)
treebd8ff0f936b06e5dbc35ca5040ade1f08bb7bbe7
parent32f532ccffc60026ef69ede4ec57891574bd8f36 (diff)
Document side-by-side line wrapping in README
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index e8f16332..30e918ac 100644
--- a/README.md
+++ b/README.md
@@ -390,7 +390,9 @@ To disable the line numbers in side-by-side view, but keep a vertical delimiter
line-numbers-right-format = "│ "
```
-Wide lines in the left or right panel are currently truncated. If the truncation is a problem, one approach is to set the width of Delta's output to be larger than your terminal (e.g. `delta --width 250`) and ensure that `less` doesn't wrap long lines (e.g. `export LESS=-RS`); then one can scroll right to view the full content. (Another approach is to decrease font size in your terminal.)
+Long lines are wrapped if they do not fit in side-by-side mode.
+For control over the details of line wrapping, see `--wrap-max-lines`, `--wrap-left-symbol`, `--wrap-right-symbol`, `--wrap-right-percent`, `--wrap-right-prefix-symbol`, `--inline-hint-style`.
+Line wrapping was implemented by @th1000s.
### "Features": named groups of settings