t\v and \f are have the same behaviour of \n. - st - [fork] customized build of st, the simple terminal
(HTM) git clone git://src.adamsgaard.dk/st
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 722688d989bae9ce5e71507be5656c9b78ae7834
(DIR) parent 6f87a39444166674daa94860d365e72343e0b882
(HTM) Author: Aurélien Aptel <aurelien.aptel@gmail.com>
Date: Sat, 16 Oct 2010 20:54:19 +0200
\v and \f are have the same behaviour of \n.
Diffstat:
M st.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/st.c b/st.c
t@@ -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));