mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Fix #64: change printf() to printw()
This commit is contained in:
parent
ca28580746
commit
8307bc95bd
2
nnn.c
2
nnn.c
|
@ -1278,7 +1278,7 @@ printent_long(struct entry *ent, int sel, uint namecols)
|
||||||
else if (S_ISLNK(ent->mode))
|
else if (S_ISLNK(ent->mode))
|
||||||
printw("%s%-16.16s @ %s@\n", CURSYM(sel), buf, pname);
|
printw("%s%-16.16s @ %s@\n", CURSYM(sel), buf, pname);
|
||||||
else if (S_ISSOCK(ent->mode))
|
else if (S_ISSOCK(ent->mode))
|
||||||
printf("%s%-16.16s = %s=\n", CURSYM(sel), buf, pname);
|
printw("%s%-16.16s = %s=\n", CURSYM(sel), buf, pname);
|
||||||
else if (S_ISFIFO(ent->mode))
|
else if (S_ISFIFO(ent->mode))
|
||||||
printw("%s%-16.16s | %s|\n", CURSYM(sel), buf, pname);
|
printw("%s%-16.16s | %s|\n", CURSYM(sel), buf, pname);
|
||||||
else if (S_ISBLK(ent->mode))
|
else if (S_ISBLK(ent->mode))
|
||||||
|
|
Loading…
Reference in a new issue