replace fwrite by printf. - st - Personal fork of st
 (HTM) git clone git://git.drkhsh.at/st.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit ff5edcfd7055102c46098f18adf1b469eec7caef
 (DIR) parent cb2e0e9c31a510cd6cdbbd3b0da231157a975d95
 (HTM) Author: Aurélien Aptel <aurelien.aptel@gmail.com>
       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(-)
       ---
 (DIR) diff --git 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);