aboutsummarylogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorpancake@nopcode.org2011-04-01 09:32:41 +0200
committerpancake@nopcode.org2011-04-01 09:32:41 +0200
commit99d381664dffa0c71a625b962379ea0e6167d3f5 (patch)
tree5e3882237c9f4a928fdc727215684f5601053592 /st.c
parentf83f84fefc62cf0b4fb7b14c2a94de2dcee93d8e (diff)
downloadaur-99d381664dffa0c71a625b962379ea0e6167d3f5.tar.gz
apply Nick's patch to fix some error printf to use stderr
Diffstat (limited to 'st.c')
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index d528828966a0..13104267ee79 100644
--- 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 {