소스 검색

return carriage at the beginning of the history line

Jochen Sprickerhof 5 년 전
부모
커밋
8d689bf06a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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) {