diff options
author | June McEnroe <june@causal.agency> | 2023-02-03 16:21:26 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2023-02-03 16:21:26 -0500 |
commit | 4961fdf75ead42902d13e847356bf8c554d0a9c9 (patch) | |
tree | b858648f0d38ffcf7e077f651159e5e2f5974850 /input.c | |
parent | Handle missing LIST reply topic parameter (diff) | |
download | catgirl-4961fdf75ead42902d13e847356bf8c554d0a9c9.tar.gz catgirl-4961fdf75ead42902d13e847356bf8c554d0a9c9.zip |
Flatten cache structs
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/input.c b/input.c index bcefee5..15f733d 100644 --- a/input.c +++ b/input.c @@ -300,12 +300,13 @@ static struct { } tab; static void tabAccept(void) { - cacheAccept(&tab.curs); + cacheTouch(&tab.curs); + tab.curs = (struct Cursor) {0}; tab.len = 0; } static void tabReject(void) { - cacheReject(&tab.curs); + tab.curs = (struct Cursor) {0}; tab.len = 0; } |