summaryrefslogtreecommitdiff
path: root/src/terminal-screen.c
diff options
context:
space:
mode:
authorNorbert Preining <[email protected]>2020-03-20 07:53:04 +0900
committerraveit65 <[email protected]>2020-03-30 15:41:13 +0200
commitdd41b4a367aa7fb9610163e91e7222782aef4eaf (patch)
treefdd347171c40a82f5bec3f0d6eabdef06f3cb874 /src/terminal-screen.c
parentd6c850079cb5c39bed968d2b3de6002b0fc85431 (diff)
downloadmate-terminal-dd41b4a367aa7fb9610163e91e7222782aef4eaf.tar.bz2
mate-terminal-dd41b4a367aa7fb9610163e91e7222782aef4eaf.tar.xz
fix searching in terminal window
Make sure are regex are compiled with PCRE2_MULTILINE which is a requirement by the vte library
Diffstat (limited to 'src/terminal-screen.c')
-rw-r--r--src/terminal-screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 1ebe973..9ead8be 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -600,7 +600,7 @@ terminal_screen_class_init (TerminalScreenClass *klass)
GError *error = NULL;
skey_regexes[i] = vte_regex_new_for_match(skey_regex_patterns[i].pattern, -1,
- PCRE2_MULTILINE, &error);
+ PCRE2_MULTILINE | PCRE2_UTF | PCRE2_NO_UTF_CHECK, &error);
if (error)
{
g_message ("%s", error->message);