summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien Aptel2012-02-16 00:59:26 +0100
committerAurélien Aptel2012-02-16 00:59:26 +0100
commitff5edcfd7055102c46098f18adf1b469eec7caef (patch)
treef46ac3f682e3872c34d8bb0c6d820d14652e353f
parentcb2e0e9c31a510cd6cdbbd3b0da231157a975d95 (diff)
downloadst-ff5edcfd7055102c46098f18adf1b469eec7caef.tar.gz
st-ff5edcfd7055102c46098f18adf1b469eec7caef.tar.xz
st-ff5edcfd7055102c46098f18adf1b469eec7caef.zip
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);