]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vt: use new tables in ucs.c
authorNicolas Pitre <npitre@baylibre.com>
Thu, 17 Apr 2025 18:45:08 +0000 (14:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Apr 2025 09:22:03 +0000 (11:22 +0200)
commit54cda9201c673fd1c5de189d961670999232e49d
treeb47e2462e4bca86588de67a777f765e796ade917
parent05ea6d71aa7a4f42c773c96dcd1519ac0dcdec86
vt: use new tables in ucs.c

This removes the table from ucs.c and substitutes the generated tables
from ucs_width_table.h providing comprehensive ranges for double-width
and zero-width Unicode code points.

Also implements ucs_is_zero_width() to query the new zero-width table.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250417184849.475581-7-nico@fluxnic.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/ucs.c
include/linux/consolemap.h