From: Michael D. Lowis Date: Fri, 16 Dec 2016 15:02:06 +0000 (-0500) Subject: Tweaked risword function to allow for command sigils as part of the word. This makes... X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=cb9c427b2a472aa4fb59d427c0f3001793de5c81;p=projs%2Ftide.git Tweaked risword function to allow for command sigils as part of the word. This makes it easier to middle click commands without having to first select them --- diff --git a/libedit/utils.c b/libedit/utils.c index 70e52c9..edb1c06 100644 --- a/libedit/utils.c +++ b/libedit/utils.c @@ -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) {