From db20356a6c5ae211ce548af9c5202450ed7511c7 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Fri, 12 Aug 2022 17:25:31 +0200 Subject: [PATCH] Add wcwidth non_characters These were added to widechar_width kinda late. Fixes #9137 --- src/fallback.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fallback.cpp b/src/fallback.cpp index 8746e1243..a776e3345 100644 --- a/src/fallback.cpp +++ b/src/fallback.cpp @@ -194,6 +194,7 @@ int fish_wcwidth(wchar_t wc) { int width = widechar_wcwidth(wc); switch (width) { + case widechar_non_character: case widechar_nonprint: case widechar_combining: case widechar_unassigned: