diff options
author | C. McEnroe | 2020-09-02 16:29:38 -0400 |
---|---|---|
committer | C. McEnroe | 2020-09-02 16:29:38 -0400 |
commit | d00b3d3b70f326a18b58e6652428e928236e7c65 (patch) | |
tree | 0be51a9e827f05469b79d6a7081bf8228ee1e384 /buffer.c | |
parent | 9679c7474e96ac5299520bc2778d7839af6a8829 (diff) |
Actually insert blank lines in the soft buffer
So they can be preserved forever!
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 5 |
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) { |