pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f87a39
)
\v and \f are have the same behaviour of \n.
author
Aurélien Aptel
<aurelien.aptel@gmail.com>
Sat, 16 Oct 2010 18:54:19 +0000
(20:54 +0200)
committer
Aurélien Aptel
<aurelien.aptel@gmail.com>
Sat, 16 Oct 2010 18:54:19 +0000
(20:54 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
16462c7
..
147a6fa
100644
(file)
--- 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));