소스 검색

\v and \f are have the same behaviour of \n.

Aurélien Aptel 14 년 전
부모
커밋
722688d989
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      st.c

+ 2 - 0
st.c

@@ -1168,6 +1168,8 @@ tputc(char c) {
 		case '\r':
 			tmoveto(0, term.c.y);
 			break;
+		case '\f':
+		case '\v':
 		case '\n':
 			/* go to first col if the mode is set */
 			tnewline(IS_SET(MODE_CRLF));