replace fwrite by printf.

This commit is contained in:
Aurélien Aptel 2012-02-16 00:59:26 +01:00
parent 6cd5c3dab7
commit 664c40f6bc
1 changed files with 1 additions and 1 deletions

2
st.c
View File

@ -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);