From f2a1aa91cc79fb6ab79b3530a770cea4056e651b Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Sun, 4 Dec 2016 20:38:33 +0100 Subject: [PATCH] Skip ;,: as vte does not consider these a word. --- termite.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/termite.cc b/termite.cc index aeb28cd..5865175 100644 --- a/termite.cc +++ b/termite.cc @@ -560,7 +560,7 @@ get_text_range(VteTerminal *vte, long start_row, long start_col, long end_row, l } static bool is_word_char(gunichar c) { - static const char *word_char_ascii_punct = "-,.;/?%&#:_=+@~"; + static const char *word_char_ascii_punct = "-,./?%&#_=+@~"; return g_unichar_isgraph(c) && (g_unichar_isalnum(c) || (g_unichar_ispunct(c) && (c >= 0x80 || strchr(word_char_ascii_punct, (int)c) != NULL)));