mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 15:25:58 +01:00
replace fwrite by printf.
This commit is contained in:
parent
cb2e0e9c31
commit
ff5edcfd70
1 changed files with 1 additions and 1 deletions
2
st.c
2
st.c
|
@ -1388,7 +1388,7 @@ csihandle(void) {
|
||||||
void
|
void
|
||||||
csidump(void) {
|
csidump(void) {
|
||||||
int i;
|
int i;
|
||||||
fwrite("ESC[", 1, 4, stdout);
|
printf("ESC[");
|
||||||
for(i = 0; i < escseq.len; i++) {
|
for(i = 0; i < escseq.len; i++) {
|
||||||
uint c = escseq.buf[i] & 0xff;
|
uint c = escseq.buf[i] & 0xff;
|
||||||
if(isprint(c)) putchar(c);
|
if(isprint(c)) putchar(c);
|
||||||
|
|
Loading…
Reference in a new issue