diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-03 04:22:09 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-03 04:22:09 -0400 |
commit | 9c2a7522054b15ccd95c0c45e2a566376a037b72 (patch) | |
tree | 328275b370344a2c13d5e6f74f48f4fddd93ff2e /src/screen.c | |
parent | b09da58557d35552cb1ddefa206012fafcbaa95f (diff) | |
download | libvt100-9c2a7522054b15ccd95c0c45e2a566376a037b72.tar.gz libvt100-9c2a7522054b15ccd95c0c45e2a566376a037b72.zip |
recognize most emoji as wide
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c index 3faa070..c3c6af7 100644 --- a/src/screen.c +++ b/src/screen.c @@ -210,7 +210,7 @@ void vt100_screen_show_string_utf8(VT100Screen *vt, char *buf, size_t len) uc = g_utf8_get_char(c); /* XXX handle zero width characters */ - is_wide = g_unichar_iswide(uc); + is_wide = vt100_is_wide_char(uc); ctype = g_unichar_type(uc); /* XXX should this also include spacing marks? */ is_combining = ctype == G_UNICODE_ENCLOSING_MARK |