From d00b3d3b70f326a18b58e6652428e928236e7c65 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 2 Sep 2020 16:29:38 -0400 Subject: Actually insert blank lines in the soft buffer So they can be preserved forever! --- buffer.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'buffer.c') 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) { -- cgit 1.4.1