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

This commit is contained in:
Aurélien Aptel 2010-10-16 20:54:19 +02:00
parent 311dd6952b
commit f2388b19b9
1 changed files with 2 additions and 0 deletions

2
st.c
View File

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