diff options
author | C. McEnroe | 2020-09-02 00:27:16 -0400 |
---|---|---|
committer | C. McEnroe | 2020-09-02 00:27:16 -0400 |
commit | 149cafc5abe7f8a7709d8d100a5e6c547eab0b52 (patch) | |
tree | 16890d8bf4f5a0e488a633f3b3b00f455827aed9 /chat.h | |
parent | 4dc87ab9cd8b1af794fc69d5aca94580ce9af8dc (diff) |
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 'chat.h')
-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 { |