diff options
author | June McEnroe <june@causal.agency> | 2022-07-30 18:55:09 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-07-30 18:55:09 -0400 |
commit | b373a5c0919c972f69d44785ad74aa37afe113de (patch) | |
tree | 019e418d6c7cbe347db0b3aa522a5f0ac93a5145 /input.c | |
parent | Switch to cache interfaces (diff) | |
download | catgirl-b373a5c0919c972f69d44785ad74aa37afe113de.tar.gz catgirl-b373a5c0919c972f69d44785ad74aa37afe113de.zip |
Rename cache{Prefix,Substr} to cache{Complete,Search}
Diffstat (limited to '')
-rw-r--r-- | input.c | 4 |
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) { |