Add wcwidth non_characters

These were added to widechar_width kinda late.

Fixes #9137
This commit is contained in:
Fabian Boehm 2022-08-12 17:25:31 +02:00
parent 96a064d679
commit db20356a6c

View file

@ -194,6 +194,7 @@ int fish_wcwidth(wchar_t wc) {
int width = widechar_wcwidth(wc); int width = widechar_wcwidth(wc);
switch (width) { switch (width) {
case widechar_non_character:
case widechar_nonprint: case widechar_nonprint:
case widechar_combining: case widechar_combining:
case widechar_unassigned: case widechar_unassigned: