From 4dc87ab9cd8b1af794fc69d5aca94580ce9af8dc Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Tue, 1 Sep 2020 22:54:26 -0400 Subject: Implement buffer line wrapping Not yet rendered in the UI! Just done in parallel. --- chat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chat.h') 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 ); -- cgit 1.4.0