about summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-09-01 22:54:26 -0400
committerJune McEnroe <june@causal.agency>2020-09-01 22:54:26 -0400
commit4dc87ab9cd8b1af794fc69d5aca94580ce9af8dc (patch)
treeeddbb60e37cfb153e2db22c2820a63ea1eb2515e /chat.h
parentInvert meaning of unreadHard/unreadSoft to match new buffer code (diff)
downloadcatgirl-4dc87ab9cd8b1af794fc69d5aca94580ce9af8dc.tar.gz
catgirl-4dc87ab9cd8b1af794fc69d5aca94580ce9af8dc.zip
Implement buffer line wrapping
Not yet rendered in the UI! Just done in parallel.
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 d53c7fe..d05121f 100644
--- a/chat.h
+++ b/chat.h
@@ -287,7 +287,7 @@ struct Buffer *bufferAlloc(void);
 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);
-void bufferPush(
+int bufferPush(
 	struct Buffer *buffer, int cols,
 	enum Heat heat, time_t time, const char *str
 );