From d05872303e2313d28f45569851ddeb238fc4d5ea Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Sat, 16 Jan 2021 12:58:16 -0500 Subject: Generalize ignore toggling to visibility threshold --- chat.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chat.h') 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, -- cgit 1.4.1-2-gfad0