From: Arun Prakash Jana Date: Sun, 17 Dec 2017 19:00:48 +0000 (+0530) Subject: Fix #64: change printf() to printw() X-Git-Tag: v1.6~29 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=8307bc95bd4e0f07e3dd0e3e114e7f0595a95585;p=nnn.git Fix #64: change printf() to printw() --- diff --git a/nnn.c b/nnn.c index abbcc0f0..4fe5ebbe 100644 --- a/nnn.c +++ b/nnn.c @@ -1278,7 +1278,7 @@ printent_long(struct entry *ent, int sel, uint namecols) else if (S_ISLNK(ent->mode)) printw("%s%-16.16s @ %s@\n", CURSYM(sel), buf, pname); 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)) printw("%s%-16.16s | %s|\n", CURSYM(sel), buf, pname); else if (S_ISBLK(ent->mode))