pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d649c2
)
apply Nick's patch to fix some error printf to use stderr
author
pancake@nopcode.org
<unknown>
Fri, 1 Apr 2011 07:32:41 +0000
(09:32 +0200)
committer
pancake@nopcode.org
<unknown>
Fri, 1 Apr 2011 07:32:41 +0000
(09:32 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
d528828
..
1310426
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-935,7
+935,7
@@
csihandle(void) {
switch(escseq.mode) {
default:
unknown:
-
printf(
"erresc: unknown csi ");
+
fprintf(stderr,
"erresc: unknown csi ");
csidump();
/* die(""); */
break;
@@
-1207,7
+1207,7
@@
tputc(char *c) {
term.c.attr.mode &= ~ATTR_GFX;
break;
default:
-
printf(
"esc unhandled charset: ESC ( %c\n", ascii);
+
fprintf(stderr,
"esc unhandled charset: ESC ( %c\n", ascii);
}
term.esc = 0;
} else {