Explorar el Código

replace fwrite by printf.

Aurélien Aptel hace 13 años
padre
commit
ff5edcfd70
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      st.c

+ 1 - 1
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);