aboutsummaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-10-09 17:44:23 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-10-09 17:44:23 +0000
commit49f4b3da64d45cee04295ce005ff0399fcfeebe2 (patch)
tree307eba129b6e0fdf8a921e9c9107cd91dd944fcf /misc.h
parentxmalloc: add xwcsdup() (diff)
config: add ‘[default].word-delimiters’
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
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.h b/misc.h
index 06dd3303..3c897336 100644
--- a/misc.h
+++ b/misc.h
@@ -3,4 +3,4 @@
#include <stdbool.h>
#include <wchar.h>
-bool isword(wchar_t wc, bool spaces_only);
+bool isword(wchar_t wc, bool spaces_only, const wchar_t *delimiters);