summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-09-02 21:29:03 -0400
committerJune McEnroe <june@causal.agency>2020-09-02 21:29:03 -0400
commit0968a8ac7c5342978fced88af6a897d9b5cdc6ab (patch)
tree857ccfd468b6b25d89f171f811060d4d0e1af4c0 /chat.h
parentGive blank lines timestamps (diff)
downloadcatgirl-0968a8ac7c5342978fced88af6a897d9b5cdc6ab.tar.gz
catgirl-0968a8ac7c5342978fced88af6a897d9b5cdc6ab.zip
Recalculate unreadHard on reflow
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chat.h b/chat.h
index 6f2ba15..6cf34b3 100644
--- a/chat.h
+++ b/chat.h
@@ -291,7 +291,7 @@ int bufferPush(
 	struct Buffer *buffer, int cols, bool ignore,
 	enum Heat heat, time_t time, const char *str
 );
-void bufferReflow(struct Buffer *buffer, int cols, bool ignore);
+int bufferReflow(struct Buffer *buffer, int cols, bool ignore, size_t tail);
 
 enum Edit {
 	EditHead,