diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-10-16 20:54:19 +0200 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-10-16 20:54:19 +0200 |
commit | 722688d989bae9ce5e71507be5656c9b78ae7834 (patch) | |
tree | 4a6c7224c55476662c89d898f0a17650d6ad6e62 /st.c | |
parent | 6f87a39444166674daa94860d365e72343e0b882 (diff) | |
download | st-722688d989bae9ce5e71507be5656c9b78ae7834.tar.gz st-722688d989bae9ce5e71507be5656c9b78ae7834.zip |
\v and \f are have the same behaviour of \n.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1168,6 +1168,8 @@ tputc(char c) { | |||
1168 | case '\r': | 1168 | case '\r': |
1169 | tmoveto(0, term.c.y); | 1169 | tmoveto(0, term.c.y); |
1170 | break; | 1170 | break; |
1171 | case '\f': | ||
1172 | case '\v': | ||
1171 | case '\n': | 1173 | case '\n': |
1172 | /* go to first col if the mode is set */ | 1174 | /* go to first col if the mode is set */ |
1173 | tnewline(IS_SET(MODE_CRLF)); | 1175 | tnewline(IS_SET(MODE_CRLF)); |