summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index ed0cb6a..1a16ca0 100644
--- a/ui.c
+++ b/ui.c
@@ -616,6 +616,10 @@ static void bufferList(const struct Buffer *buffer) {
 	for (size_t i = 0; i < BufferCap; ++i) {
 		const struct Line *line = bufferSoft(buffer, i);
 		if (!line) continue;
+		if (!line->str[0]) {
+			printf("\n");
+			continue;
+		}
 
 		struct tm *tm = localtime(&line->time);
 		if (!tm) err(EX_OSERR, "localtime");
04-26 17:25:50 -0400'>2021-04-26Update to Linux man-pages 5.11June McEnroe 2021-04-26Update to FreeBSD 13.0June McEnroe 2021-01-27Completely rewrite how manuals are fetched and installedJune McEnroe Also add section 6 manuals from NetBSD and OpenBSD! 2020-12-14Update to man-pages-posix 2017-aJune McEnroe 2020-12-14Update to OpenBSD 6.8June McEnroe 2020-12-14Update to NetBSD 9.1June McEnroe 2020-12-14Update to man-pages 5.09June McEnroe 2020-12-14Update to FreeBSD 12.2June McEnroe 2020-06-08Update to OpenBSD 6.7June McEnroe 2020-05-04Add hack for macOS to search extra man sectionsJune McEnroe 2020-05-04Don't clear MANSECTJune McEnroe