summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorC. McEnroe2020-09-01 22:54:26 -0400
committerC. McEnroe2020-09-01 22:54:26 -0400
commit4dc87ab9cd8b1af794fc69d5aca94580ce9af8dc (patch)
treeeddbb60e37cfb153e2db22c2820a63ea1eb2515e /chat.h
parent8d1d7580538a082075a7b2d758f0e985ea1a7e42 (diff)
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
 );