summary refs log tree commit diff
path: root/buffer.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-09-02 16:29:38 -0400
committerJune McEnroe <june@causal.agency>2020-09-02 16:29:38 -0400
commitd00b3d3b70f326a18b58e6652428e928236e7c65 (patch)
tree0be51a9e827f05469b79d6a7081bf8228ee1e384 /buffer.c
parentReimplement split scrolling (diff)
downloadcatgirl-d00b3d3b70f326a18b58e6652428e928236e7c65.tar.gz
catgirl-d00b3d3b70f326a18b58e6652428e928236e7c65.zip
Actually insert blank lines in the soft buffer
So they can be preserved forever!
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/buffer.c b/buffer.c
index bc4a2b8..fd69cd3 100644
--- a/buffer.c
+++ b/buffer.c
@@ -184,11 +184,6 @@ int bufferPush(
 	return flow(&buffer->hard, cols, soft);
 }
 
-int bufferBlank(struct Buffer *buffer) {
-	struct Line blank = { .heat = Cold, .str = "" };
-	return flow(&buffer->hard, 1, &blank);
-}
-
 void bufferReflow(struct Buffer *buffer, int cols) {
 	buffer->hard.len = 0;
 	for (size_t i = 0; i < BufferCap; ++i) {