JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
replace fwrite by printf.
authorAurélien Aptel <aurelien.aptel@gmail.com>
Wed, 15 Feb 2012 23:59:26 +0000 (00:59 +0100)
committerAurélien Aptel <aurelien.aptel@gmail.com>
Wed, 15 Feb 2012 23:59:26 +0000 (00:59 +0100)
st.c

diff --git a/st.c b/st.c
index 3b7eb78..baea2bc 100644 (file)
--- 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);