Fix #64: change printf() to printw()

This commit is contained in:
Arun Prakash Jana 2017-12-18 00:30:48 +05:30
parent ca28580746
commit 8307bc95bd
No known key found for this signature in database
GPG key ID: A75979F35C080412

2
nnn.c
View file

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