Add config option for word delimiters

Let the user configure word boundaries other than ' ', only works with
the portable character set.
This commit is contained in:
Quentin Rameau authored and Hiltjo Posthuma committed 2015-12-19 20:32:14 +01:00
1 parent 32f2564dbb
commit 120e840107
2 files changed
+10 -2

No files matched your search

+6
View File
@@ -15,3 +15,9 @@ static const char *outbgcolor = "#00ffff";
static const char *outfgcolor = "#000000";
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines = 0;
/*
* Characters not considered part of a word while deleting words
* for example: " /?\"&[]"
*/
static const char worddelimiters[] = " ";