summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-09-02 00:27:16 -0400
committerJune McEnroe <june@causal.agency>2020-09-02 00:27:16 -0400
commit149cafc5abe7f8a7709d8d100a5e6c547eab0b52 (patch)
tree16890d8bf4f5a0e488a633f3b3b00f455827aed9 /chat.h
parentImplement buffer line wrapping (diff)
downloadcatgirl-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.h1
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 {