Explorar el Código

Hide cursor in scroll

Jochen Sprickerhof hace 6 años
padre
commit
2ffcf5b56b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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)