apply Nick's patch to fix some error printf to use stderr - st - simple terminal
HTML git clone https://git.parazyd.org/st
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 1ab42fd49e68a11bfbbe5990ebdab2d3ca502178
DIR parent 4d649c240326aa3292adf629c90ea528ecbe844f
HTML Author: pancake@nopcode.org <unknown>
Date: Fri, 1 Apr 2011 09:32:41 +0200
apply Nick's patch to fix some error printf to use stderr
Diffstat:
M st.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git 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 {