diff options
author | June McEnroe <june@causal.agency> | 2020-09-01 22:54:26 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-09-01 22:54:26 -0400 |
commit | 4dc87ab9cd8b1af794fc69d5aca94580ce9af8dc (patch) | |
tree | eddbb60e37cfb153e2db22c2820a63ea1eb2515e /chat.h | |
parent | Invert meaning of unreadHard/unreadSoft to match new buffer code (diff) | |
download | test-4dc87ab9cd8b1af794fc69d5aca94580ce9af8dc.tar.gz test-4dc87ab9cd8b1af794fc69d5aca94580ce9af8dc.zip |
Implement buffer line wrapping
Not yet rendered in the UI! Just done in parallel.
Diffstat (limited to '')
-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 ); |