This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Single-width display option


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]