Explorar el Código

return carriage at the beginning of the history line

Jochen Sprickerhof hace 5 años
padre
commit
8d689bf06a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      scroll.c

+ 1 - 0
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) {