aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2012-02-16 00:59:26 +0100
committerAurélien Aptel <aurelien.aptel@gmail.com>2012-02-16 00:59:26 +0100
commit664c40f6bc86163a24b2047a63aaf56db8206d72 (patch)
treef46ac3f682e3872c34d8bb0c6d820d14652e353f
parent6cd5c3dab7e47553bc14a8a7cf76708f708b508e (diff)
downloadst-664c40f6bc86163a24b2047a63aaf56db8206d72.tar.gz
st-664c40f6bc86163a24b2047a63aaf56db8206d72.tar.bz2
replace fwrite by printf.
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 3b7eb78..baea2bc 100644
--- a/st.c
+++ b/st.c
@@ -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);