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 | ff5edcfd7055102c46098f18adf1b469eec7caef (patch) | |
| tree | f46ac3f682e3872c34d8bb0c6d820d14652e353f | |
| parent | cb2e0e9c31a510cd6cdbbd3b0da231157a975d95 (diff) | |
| download | st-ff5edcfd7055102c46098f18adf1b469eec7caef.tar.gz st-ff5edcfd7055102c46098f18adf1b469eec7caef.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); |
