commit ff5edcfd7055102c46098f18adf1b469eec7caef (patch)
parent cb2e0e9c31a510cd6cdbbd3b0da231157a975d95
Author: Aurélien Aptel <aurelien.aptel@gmail.com>
Date: Thu, 16 Feb 2012 00:59:26 +0100
replace fwrite by printf.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
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);