summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-16 12:58:16 -0500
committerJune McEnroe <june@causal.agency>2021-01-16 12:58:16 -0500
commitd05872303e2313d28f45569851ddeb238fc4d5ea (patch)
treea746980ed4377ab1625affdd75ebb817aec898b2 /chat.h
parentSave and load the URL ring in the save file (diff)
downloadcatgirl-d05872303e2313d28f45569851ddeb238fc4d5ea.tar.gz
catgirl-d05872303e2313d28f45569851ddeb238fc4d5ea.zip
Generalize ignore toggling to visibility threshold
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h6
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,