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.
Diffstat (limited to '')
-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':');
 		}
truct EditJune McEnroe 2022-02-19Remove unneeded includes in ui.cJune McEnroe 2022-02-19Reimplement tab completeJune McEnroe 2022-02-19Handle errors from editFn, etc.June McEnroe 2022-02-19Reimplement text macrosJune McEnroe 2022-02-19Factor out input handling to input.cJune McEnroe 2022-02-19Factor out window management to window.cJune McEnroe 2022-02-19Enable -Wmissing-prototypesJune McEnroe 2022-02-19Fix edit.[ch] license notice additional permissionsJune McEnroe 2022-02-19Run line editing testsJune McEnroe 2022-02-18Implement new line editing "library"June McEnroe 2022-02-18Simplify cursor positioning in inputJune McEnroe 2022-02-18Fix M-f orderingJune McEnroe 2022-02-12Move sandman build to scripts/MakefileJune McEnroe 2022-02-12Use compat_readpassphrase.c on LinuxJune McEnroe 2022-02-12Copy RPP defines from oconfigureJune McEnroe9&follow=1'>ui-snapshot.c: Prepend "V" when guessing ref namesLukas Fleischer 2013-04-10t0107: Skip ZIP tests if unzip(1) isn't availableLukas Fleischer 2013-04-10tests/: Do not use `sed -i`Lukas Fleischer 2013-04-10Add branch-sort and repo.branch-sort options.Jason A. Donenfeld 2013-04-10t0109: chain operations with &&John Keeping 2013-04-10cgit.c: Do not restore unset environment variablesLukas Fleischer 2013-04-09t0107: Use `tar -z` for gzip'ed archivesLukas Fleischer