diff options
author | 2025-04-17 14:45:12 -0400 | |
---|---|---|
committer | 2025-04-26 11:22:04 +0200 | |
commit | 5617aeb14a4381e4ee61778c91ed90a615275f39 (patch) | |
tree | 370d391654b1311094daf34c18d887353ef3acc0 /scripts/lib/kdoc/kdoc_parser.py | |
parent | vt: support Unicode recomposition (diff) | |
download | linux-rng-5617aeb14a4381e4ee61778c91ed90a615275f39.tar.xz linux-rng-5617aeb14a4381e4ee61778c91ed90a615275f39.zip |
vt: pad double-width code points with a zero-width space
In the Unicode screen buffer, we follow double-width code points with a
space to maintain proper column alignment. This, however, creates
semantic problems when e.g. using cut and paste.
Let's use a better code point for the column padding's purpose i.e. a
zero-width space rather than a full space. This way the combination
retains a width of 2.
Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250417184849.475581-11-nico@fluxnic.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions