summaryrefslogtreecommitdiffstats
path: root/man/man1
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2023-01-16 01:22:02 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2023-01-16 01:26:39 +0900
commit0c5956c43c1604d8e4364f08369dc4c58295ef3c (patch)
tree1c7a4601c7b2b108febefdde6cab9117ebe144f4 /man/man1
parent1c83b3969185393f0427463a39ef1523c273c16c (diff)
Better support for Windows terminals
* Default border style on Windows is changed to `sharp` because some Windows terminals are not capable of displaying `rounded` border characters correctly. * If your terminal emulator renders each box-drawing character with 2 columns, set `RUNEWIDTH_EASTASIAN` environment variable to `1`.
Diffstat (limited to 'man/man1')
-rw-r--r--man/man1/fzf.18
1 files changed, 6 insertions, 2 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index 75856d07..6d44b461 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -230,6 +230,10 @@ Draw border around the finder
.BR none
.br
+If you use a terminal emulator where box-drawing characters take 2 columns,
+try setting \fBRUNEWIDTH_EASTASIAN\fR to \fB1\fR. If the border is still
+not properly rendered, set \fB--no-unicode\fR.
+
.TP
.BI "--border-label" [=LABEL]
Label to print on the horizontal border line. Should be used with one of the
@@ -568,9 +572,9 @@ Label to print on the horizontal border line of the preview window.
Should be used with one of the following \fB--preview-window\fR options.
.br
-.B * border-rounded (default)
+.B * border-rounded (default on non-Windows platforms)
.br
-.B * border-sharp
+.B * border-sharp (default on Windows)
.br
.B * border-bold
.br