diff options
author | June McEnroe <june@causal.agency> | 2021-01-16 12:58:16 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-16 12:58:16 -0500 |
commit | d05872303e2313d28f45569851ddeb238fc4d5ea (patch) | |
tree | a746980ed4377ab1625affdd75ebb817aec898b2 /chat.h | |
parent | Save and load the URL ring in the save file (diff) | |
download | catgirl-d05872303e2313d28f45569851ddeb238fc4d5ea.tar.gz catgirl-d05872303e2313d28f45569851ddeb238fc4d5ea.zip |
Generalize ignore toggling to visibility threshold
Diffstat (limited to 'chat.h')
-rw-r--r-- | chat.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chat.h b/chat.h index b5e546a..e027fa5 100644 --- a/chat.h +++ b/chat.h @@ -309,10 +309,12 @@ void bufferFree(struct Buffer *buffer); const struct Line *bufferSoft(const struct Buffer *buffer, size_t i); const struct Line *bufferHard(const struct Buffer *buffer, size_t i); int bufferPush( - struct Buffer *buffer, int cols, bool ignore, + struct Buffer *buffer, int cols, enum Heat thresh, enum Heat heat, time_t time, const char *str ); -int bufferReflow(struct Buffer *buffer, int cols, bool ignore, size_t tail); +int bufferReflow( + struct Buffer *buffer, int cols, enum Heat thresh, size_t tail +); enum Edit { EditHead, |