Parcourir la source

Hide cursor in scroll

Jochen Sprickerhof il y a 6 ans
Parent
commit
2ffcf5b56b
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      scroll.c

+ 2 - 0
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)