diff options
author | C. McEnroe | 2020-09-01 22:54:26 -0400 |
---|---|---|
committer | C. McEnroe | 2020-09-01 22:54:26 -0400 |
commit | 4dc87ab9cd8b1af794fc69d5aca94580ce9af8dc (patch) | |
tree | eddbb60e37cfb153e2db22c2820a63ea1eb2515e /chat.h | |
parent | 8d1d7580538a082075a7b2d758f0e985ea1a7e42 (diff) |
Implement buffer line wrapping
Not yet rendered in the UI! Just done in parallel.
Diffstat (limited to 'chat.h')
-rw-r--r-- | chat.h | 2 |
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 ); |