diff options
author | June McEnroe <june@causal.agency> | 2020-04-02 11:00:05 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-02 11:00:05 -0400 |
commit | a0f012c614e25f9a0172d1da228c152ca6e2eb4c (patch) | |
tree | b79110ce4f35d1ce2cfe7d6672a70ecb93bc9511 | |
parent | Preserve the last blank line on reflow (diff) | |
download | test-a0f012c614e25f9a0172d1da228c152ca6e2eb4c.tar.gz test-a0f012c614e25f9a0172d1da228c152ca6e2eb4c.zip |
Do not add an extra blank line on uiLoad
Adding one for the last unread position now, so this is mostly redundant, I think.
-rw-r--r-- | ui.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui.c b/ui.c index f4e1200..6d9dddc 100644 --- a/ui.c +++ b/ui.c @@ -1095,8 +1095,6 @@ void uiLoad(const char *name) { bufferPush(&window->buffer, heat, time, buf); } reflow(window); - waddch(window->pad, '\n'); - window->unreadLines++; } free(buf); |