From 49f4b3da64d45cee04295ce005ff0399fcfeebe2 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 9 Oct 2020 19:44:23 +0200 Subject: config: add ‘[default].word-delimiters’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This option lets the user configure which characters act as word delimiters when selecting text. This affects both “double clicking”, and ‘ctrl-w’ in scrollback search mode. Closes #156 --- misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc.h') diff --git a/misc.h b/misc.h index 06dd3303..3c897336 100644 --- a/misc.h +++ b/misc.h @@ -3,4 +3,4 @@ #include #include -bool isword(wchar_t wc, bool spaces_only); +bool isword(wchar_t wc, bool spaces_only, const wchar_t *delimiters); -- cgit v1.3