implement a way to shorten filenames with east-asian characters

(#1377)

Setting 'output.shorten' to "eaw" (East-Asian Width) uses a slower
algorithm that also considers characters with a width > 1.
This commit is contained in:
Mike Fährmann
2021-09-13 21:29:38 +02:00
parent 2ff2974353
commit bd845303ad
4 changed files with 219 additions and 15 deletions

View File

@@ -2531,6 +2531,9 @@ Description
Controls whether the output strings should be shortened to fit
on one console line.
Set this option to ``"eaw"`` to also work with east-asian characters
with a display width greater than 1.
output.skip
-----------