]> git.mdlowis.com Git - projs/tide.git/commitdiff
Tweaked risword function to allow for command sigils as part of the word. This makes...
authorMichael D. Lowis <mike.lowis@gentex.com>
Fri, 16 Dec 2016 15:02:06 +0000 (10:02 -0500)
committerMichael D. Lowis <mike.lowis@gentex.com>
Fri, 16 Dec 2016 15:02:06 +0000 (10:02 -0500)
libedit/utils.c

index 70e52c929654a55936d18664eccc1aa92c50d728..edb1c0650ff2469de075863a35f5dec4cef5fb9c 100644 (file)
@@ -49,7 +49,8 @@ void funmap(FMap file) {
 }
 
 bool risword(Rune r) {
-    return (r < 127 && (isalnum(r) || r == '_'));
+    return (r < 127 && (isalnum(r) || r == '_' || r == ':' || r == '!' || 
+                          r == '|' || r == '>' || r == '<'));
 }
 
 bool risblank(Rune r) {