commit 8d689bf06aa5be544748dc6f332d835a23be616d
Author: Jochen Sprickerhof <[email protected]>
AuthorDate: Mon May 4 07:28:50 2020 +0200
Commit: Jochen Sprickerhof <[email protected]>
CommitDate: Mon May 4 07:28:50 2020 +0200
return carriage at the beginning of the history line
diff --git a/scroll.c b/scroll.c
index b58f059..6cb192a 100644
--- a/scroll.c
+++ b/scroll.c
@@ -582,6 +582,7 @@ main(int argc, char *argv[])
memset(buf, 0, size);
pos = 0;
+ buf[pos++] = '\r';
}
buf[pos++] = *c;
if (pos == size) {