diff options
author | June McEnroe <june@causal.agency> | 2020-09-02 00:27:16 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-09-02 00:27:16 -0400 |
commit | 149cafc5abe7f8a7709d8d100a5e6c547eab0b52 (patch) | |
tree | 16890d8bf4f5a0e488a633f3b3b00f455827aed9 /chat.h | |
parent | Implement buffer line wrapping (diff) | |
download | catgirl-149cafc5abe7f8a7709d8d100a5e6c547eab0b52.tar.gz catgirl-149cafc5abe7f8a7709d8d100a5e6c547eab0b52.zip |
Render one main window from buffers
Still missing: split scrolling and preserving a blank on reflow either from resize or ignore toggling. Anecdata: on one of my instances of catgirl, RAM usage of the previous release was ~30M, RAM usage of this commit was ~12M.
Diffstat (limited to '')
-rw-r--r-- | chat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chat.h b/chat.h index d05121f..72b0246 100644 --- a/chat.h +++ b/chat.h @@ -291,6 +291,7 @@ int bufferPush( struct Buffer *buffer, int cols, enum Heat heat, time_t time, const char *str ); +int bufferBlank(struct Buffer *buffer); void bufferReflow(struct Buffer *buffer, int cols); enum Edit { |