aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2010-10-16 20:54:19 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2010-10-16 20:54:19 +0200
commitf2388b19b958cb10a4109d152aa73e723b23e9c3 (patch)
tree4a6c7224c55476662c89d898f0a17650d6ad6e62
parent311dd6952b9651c79f39735061a9689777dbacb2 (diff)
downloadst-f2388b19b958cb10a4109d152aa73e723b23e9c3.tar.gz
st-f2388b19b958cb10a4109d152aa73e723b23e9c3.tar.bz2
\v and \f are have the same behaviour of \n.
-rw-r--r--st.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/st.c b/st.c
index 16462c7..147a6fa 100644
--- a/st.c
+++ b/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));