about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-13 01:50:46 -0400
committerJune McEnroe <june@causal.agency>2018-09-13 01:50:46 -0400
commit8a8eab89ff079b4a11ab9108b0a3f02fe6a638b1 (patch)
tree18ac8047ff78def0e0c6c22002b09d3016b03ab1
parentRewrite UI again (diff)
downloadcatgirl-8a8eab89ff079b4a11ab9108b0a3f02fe6a638b1.tar.gz
catgirl-8a8eab89ff079b4a11ab9108b0a3f02fe6a638b1.zip
Fix weird tab-complete after comma
I have no idea why I did this.
-rw-r--r--edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.c b/edit.c
index 38ee843..88301f6 100644
--- a/edit.c
+++ b/edit.c
@@ -125,7 +125,7 @@ static void complete(struct Tag tag) {
 	if (!pos && line.tab[0] != L'/') {
 		insert(L':');
 	} else if (pos >= 2) {
-		if (line.buf[pos - 2] == L':' || line.buf[pos - 2] == L',') {
+		if (line.buf[pos - 2] == L':') {
 			line.buf[pos - 2] = L',';
 			insert(L':');
 		}
editJune McEnroe 2020-10-27Switch gr alias back to git rebaseJune McEnroe 2020-10-27Allow cd host: to cd to same path over sshJune McEnroe 2020-10-27Use SendEnv for cd host:pathJune McEnroe 2020-10-27Allow cd host:path over sshJune McEnroe 2020-10-07Use mandoc -T utf8 for text.June McEnroe 2020-09-20Add The Awakened KingdomJune McEnroe 2020-09-12Move /opt/local back, cheat port select to use system manJune McEnroe 2020-09-12Move /opt/local behind /usr againJune McEnroe 2020-09-12Enable toc in cgit renderings of man pagesJune McEnroe 2020-09-11Install mandoc on macOSJune McEnroe 2020-09-11Rewrite install script yet againJune McEnroe 2020-09-11Remove NetBSD from install scriptJune McEnroe 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe 2020-09-07Add SunglassesJune McEnroe 2020-09-06Add Between the BreathsJune McEnroe 2020-09-04Open /dev/tty in nudgeJune McEnroe 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe 2020-08-29Add tweets from retweetsJune McEnroe