From 664c40f6bc86163a24b2047a63aaf56db8206d72 Mon Sep 17 00:00:00 2001 From: Aurélien Aptel Date: Thu, 16 Feb 2012 00:59:26 +0100 Subject: replace fwrite by printf. --- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st.c b/st.c index 3b7eb78..baea2bc 100644 --- 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); -- cgit v1.2.3