Closed polijan closed 4 years ago
--no-unicode
is what you're looking for.
Hi, thanks @junegunn for the answer. I still wouldn't mark the issue as closed though!
Because dropping to ASCII is a regression being brought by version 0.21. Fzf 0.20 and earlier versions worked well on the Linux console including all the line drawing! (as I explained, Linux console has some Unicode support)
FYI...
I looked at a unicode demo file on my linux console Only around half the standard unicode glyphs were defined, and none of the various unicode Spinners that I have collected works.
In summery looks like your only real choice is to use --no-unicode
as previously suggested.
man fzf
)Info
Problem / Steps to reproduce
Fzf recently started to use a wider range of Unicode characters for its user interface (rounded corner preview, braille spinner indicator, others?). Those new characters may look great on a modern desktop, but may not display as intended on other systems (servers, embedded, etc...).
As an example, the Linux console supports Unicode but only a maximum of 256 (or 512 with less colors) glyphs. Default glyphs (symbols from CP437) and virtually every console fonts have printable ASCII and simple-line drawing, but not rounded corners or braille.
Even in a desktop environment, traditional bitmap fonts or some modern minimal fonts may also not include those.
Suggestions
--border
(=sharp
) could control border around the preview also (not just around the finder)--spinner=
... option, with possible values (braille
[default],ascii
, ...)