treplace fwrite by printf. - st - [fork] customized build of st, the simple ter… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit ff5edcfd7055102c46098f18adf1b469eec7caef | |
parent cb2e0e9c31a510cd6cdbbd3b0da231157a975d95 | |
Author: Aurélien Aptel <[email protected]> | |
Date: Thu, 16 Feb 2012 00:59:26 +0100 | |
replace fwrite by printf. | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -1388,7 +1388,7 @@ csihandle(void) { | |
void | |
csidump(void) { | |
int i; | |
- fwrite("ESC[", 1, 4, stdout); | |
+ printf("ESC["); | |
for(i = 0; i < escseq.len; i++) { | |
uint c = escseq.buf[i] & 0xff; | |
if(isprint(c)) putchar(c); |