瀏覽代碼

\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));