Cygwin: describe new locale modifier @cjksingle for user guide

This commit is contained in:
Thomas Wolff 2020-02-17 00:00:00 +01:00 committed by Ken Brown
parent 3232469d38
commit 8c454ccf77
1 changed files with 11 additions and 0 deletions

View File

@ -179,6 +179,17 @@ response with this option; it forces wcwidth/wcswidth to return 2 for the
ambiguous width characters.
</para></listitem>
<listitem><para>
As an alternative preference, CJK single-width may be enforced.
This feature is a
<ulink url="https://gitlab.freedesktop.org/terminal-wg/specifications/issues/9#note_406682">proposal</ulink>
in the Terminals Working Group Specifications.
The mintty terminal implements it as an option with proper glyph scaling.
The locale modifier "@cjksingle" supports consistent locale response
with this option; it forces wcwidth/wcswidth to account at most 1 for
all characters.
</para></listitem>
</itemizedlist>
</sect2>