apply Nick's patch to fix some error printf to use stderr

This commit is contained in:
pancake@nopcode.org 2011-04-01 09:32:41 +02:00
parent 4d649c2403
commit 1ab42fd49e

4
st.c
View File

@ -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 {