Single-width display option

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Single-width display option

Thomas Wolff
I have implemented a single-width display option for mintty
(https://github.com/mintty/mintty/issues/964).
With this feature enabled, CJK characters are rendered single-width.

While this may appear alien for terminal users who are used to the
established dual-width paradigm, some people may in fact prefer it, as
advocated and visually motivated in
https://gitlab.freedesktop.org/terminal-wg/specifications/issues/9#note_406682.

In order to support locale-consistent width handling with this option,
I'm proposing another locale modifier "@cjksingle" which triggers this
behaviour for the wcwidth/wcswidth API. I've prepared a patch which I'll
send to the newlib list.

Thomas

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple