commit 18fc6b49569b67647142602c2f6cb3f268cea6c3
Author: Jan Klemkow <[email protected]>
AuthorDate: Thu Apr 2 22:33:51 2020 +0200
Commit: Jan Klemkow <[email protected]>
CommitDate: Thu Apr 2 22:33:51 2020 +0200
make comment more precise
diff --git a/scroll.c b/scroll.c
index 942750d..69189ae 100644
--- a/scroll.c
+++ b/scroll.c
@@ -270,7 +270,7 @@ scrollup(void)
/* move the text in terminal n lines down */
dprintf(STDOUT_FILENO, "\033[%dT", rows);
- /* set cursor position */
+ /* set cursor position to upper left corner */
write(STDOUT_FILENO, "\033[0;0H", 6);
/* hide cursor */
write(STDOUT_FILENO, "\033[?25l", 6);