about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-02 11:00:05 -0400
committerJune McEnroe <june@causal.agency>2020-04-02 11:00:05 -0400
commita0f012c614e25f9a0172d1da228c152ca6e2eb4c (patch)
treeb79110ce4f35d1ce2cfe7d6672a70ecb93bc9511
parentPreserve the last blank line on reflow (diff)
downloadcatgirl-a0f012c614e25f9a0172d1da228c152ca6e2eb4c.tar.gz
catgirl-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.c2
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);