summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolff <mintty@users.noreply.github.com>2020-02-17 00:00:00 +0100
committerCorinna Vinschen <corinna@vinschen.de>2020-02-18 11:35:42 +0100
commitb7361d31fb8659aa6cea85d7eef22471727be26b (patch)
treed97d658796353e0ffb2d8d1e246ad85c9b68ce86
parentc8204b106988fd089a6d568f540100a3b88b628c (diff)
downloadcygnal-b7361d31fb8659aa6cea85d7eef22471727be26b.tar.gz
cygnal-b7361d31fb8659aa6cea85d7eef22471727be26b.tar.bz2
cygnal-b7361d31fb8659aa6cea85d7eef22471727be26b.zip
Cygwin: describe new locale modifier @cjksingle for user guide
-rw-r--r--winsup/doc/setup-locale.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/winsup/doc/setup-locale.xml b/winsup/doc/setup-locale.xml
index 4872ae202..4b9141e5c 100644
--- a/winsup/doc/setup-locale.xml
+++ b/winsup/doc/setup-locale.xml
@@ -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>