aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-xlib.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-01-25 22:53:48 -0500
committerJesse Luehrs <doy@tozt.net>2017-01-25 22:53:48 -0500
commit3df4d06fd663bf19f08343b0d77c20672301b9b2 (patch)
treeca68bbcd8a69798cfd1f76ebbbd2af7b86ce357f /src/window-xlib.c
parent4769d154e2c11031fdba4974815d070cf70cb936 (diff)
downloadrunes-3df4d06fd663bf19f08343b0d77c20672301b9b2.tar.gz
runes-3df4d06fd663bf19f08343b0d77c20672301b9b2.zip
make wide emoji configurable
Diffstat (limited to 'src/window-xlib.c')
-rw-r--r--src/window-xlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c
index c12602f..fde8f43 100644
--- a/src/window-xlib.c
+++ b/src/window-xlib.c
@@ -1213,7 +1213,7 @@ static int runes_window_is_word_char(RunesTerm *t, int row, int col)
}
uc = g_utf8_get_char(c->contents);
- if (vt100_char_width(uc) == 0) {
+ if (vt100_char_width(uc, t->config->wide_emoji) == 0) {
return 0;
}
if (g_unichar_isspace(uc)) {