pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb2e0e9
)
replace fwrite by printf.
author
Aurélien Aptel
<aurelien.aptel@gmail.com>
Wed, 15 Feb 2012 23:59:26 +0000
(
00:59
+0100)
committer
Aurélien Aptel
<aurelien.aptel@gmail.com>
Wed, 15 Feb 2012 23:59:26 +0000
(
00:59
+0100)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
3b7eb78
..
baea2bc
100644
(file)
--- 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);