summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
authorJune McEnroe2022-07-30 18:55:09 -0400
committerJune McEnroe2022-07-30 18:55:09 -0400
commitb373a5c0919c972f69d44785ad74aa37afe113de (patch)
tree019e418d6c7cbe347db0b3aa522a5f0ac93a5145 /input.c
parent14a6486b9b2b9522982cde12c05b20931fe34999 (diff)
Rename cache{Prefix,Substr} to cache{Complete,Search}
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input.c b/input.c
index 739d889..bcefee5 100644
--- a/input.c
+++ b/input.c
@@ -333,9 +333,9 @@ static int tabComplete(struct Edit *e, uint id) {
 		tab.suffix = true;
 	}
 
-	const char *comp = cachePrefix(&tab.curs, id, tab.pre);
+	const char *comp = cacheComplete(&tab.curs, id, tab.pre);
 	if (!comp) {
-		comp = cachePrefix(&tab.curs, id, tab.pre);
+		comp = cacheComplete(&tab.curs, id, tab.pre);
 		tab.suffix ^= true;
 	}
 	if (!comp) {