mirror of
https://github.com/tmux/tmux.git
synced 2025-04-23 21:08:48 +00:00
Do not force symbols to width 1, from Yen Chi Hsuan.
This commit is contained in:
parent
4dbbcff72b
commit
178894b0fe
@ -33,10 +33,6 @@ utf8proc_wcwidth(wchar_t wc)
|
|||||||
*/
|
*/
|
||||||
return (1);
|
return (1);
|
||||||
}
|
}
|
||||||
if (cat == UTF8PROC_CATEGORY_SO) {
|
|
||||||
/* Symbols, like emoji, should always use width 1. */
|
|
||||||
return (1);
|
|
||||||
}
|
|
||||||
return (utf8proc_charwidth(wc));
|
return (utf8proc_charwidth(wc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user