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) | |
replace fwrite by printf.
| -rw-r--r-- | st.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -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); | 
