aboutsummarylogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorAurélien Aptel2010-10-16 20:54:19 +0200
committerAurélien Aptel2010-10-16 20:54:19 +0200
commit6379410f0e0032ebe0d0f817c0ed555a38194e2e (patch)
treef631af4ffef261d1dfc12089f9c555c3ae39bbd3 /st.c
parent8610b2c5d04587742d0bada7adcbda663dc1eee2 (diff)
downloadaur-6379410f0e0032ebe0d0f817c0ed555a38194e2e.tar.gz
\v and \f are have the same behaviour of \n.
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/st.c b/st.c
index 16462c7c97e4..147a6fa5dcb7 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));