diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2012-02-16 00:59:26 +0100 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2012-02-16 00:59:26 +0100 |
commit | 664c40f6bc86163a24b2047a63aaf56db8206d72 (patch) | |
tree | f46ac3f682e3872c34d8bb0c6d820d14652e353f | |
parent | 6cd5c3dab7e47553bc14a8a7cf76708f708b508e (diff) | |
download | st-patched-664c40f6bc86163a24b2047a63aaf56db8206d72.tar.bz2 st-patched-664c40f6bc86163a24b2047a63aaf56db8206d72.tar.xz st-patched-664c40f6bc86163a24b2047a63aaf56db8206d72.zip |
replace fwrite by printf.
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1388,7 +1388,7 @@ csihandle(void) { | |||
1388 | void | 1388 | void |
1389 | csidump(void) { | 1389 | csidump(void) { |
1390 | int i; | 1390 | int i; |
1391 | fwrite("ESC[", 1, 4, stdout); | 1391 | printf("ESC["); |
1392 | for(i = 0; i < escseq.len; i++) { | 1392 | for(i = 0; i < escseq.len; i++) { |
1393 | uint c = escseq.buf[i] & 0xff; | 1393 | uint c = escseq.buf[i] & 0xff; |
1394 | if(isprint(c)) putchar(c); | 1394 | if(isprint(c)) putchar(c); |