commit 2ffcf5b56b8bb813f96717c9b0262d772b766636
parent db5282af9c6247f3812bee694b39d79b27dbd21e
Author: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Date: Tue, 11 Feb 2020 20:17:55 +0100
Hide cursor in scroll
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/scroll.c b/scroll.c
@@ -172,6 +172,8 @@ scrollup(void)
/* set cursor position */
write(STDOUT_FILENO, "\033[0;0H", 6);
+ /* hide cursor */
+ write(STDOUT_FILENO, "\033[?25l", 6);
/* check if the input line is on the bottom of the screen */
if (TAILQ_FIRST(&head) == bottom)