doublewidth
Doublewidth is a term used in typography and computing to describe characters that occupy two character cells in fixed-width text rendering. In monospaced environments such as terminal emulators or code editors, most ASCII characters render in a single column, while many East Asian characters—Chinese, Japanese, and Korean ideographs—render in two columns. This width distinction helps preserve legibility when mixing scripts in a single line of text.
In Unicode, the concept is captured by the East Asian Width property. Code points are classified as
Examples include Kanji, Hanzi, and other CJK characters, which are typically double-width, versus Latin letters like
Applications of doublewidth awareness include proper text wrapping, alignment, and cursor positioning in terminal applications, text