Allow more complex delimiters for word selections.

Thanks Alexander Rezinsky <alexrez@gmail.com>!
This commit is contained in:
Christoph Lohmann committed 2013-05-04 19:04:20 +02:00
1 parent 0c2b513d01
commit 8e968739c3
2 files changed
+11 -2

No files matched your search

+3 -1
View File
@@ -707,8 +707,10 @@ selsnap(int mode, int *x, int *y, int direction) {
}
}
if(term.line[*y][*x + direction].c[0] == ' ')
if(strchr(worddelimiters,
term.line[*y][*x + direction].c[0])) {
break;
}
*x += direction;
}