nnn

mirror of https://github.com/jarun/nnn
Log | Files | Refs | README | LICENSE

commit 0898cb3d43728aa428b11fb85a7455ecc5132419
parent db30dc6a9b3e60789f96f5aeb37f8b1a926ded3f
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun, 16 Nov 2025 23:16:53 +0530

Show filename in bold in content window

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -4928,12 +4928,12 @@ static bool show_content_in_floating_window(char *content, size_t content_len, e if (ndents) { mvwaddch(win, 0, 2, ' '); - wattron(win, A_BOLD); waddstr(win, xitoa(cur + 1)); waddch(win, '/'); waddstr(win, xitoa(ndents)); waddch(win, ' '); getyx(win, ret, x); // ret is used as a dummy + wattron(win, A_BOLD); waddnstr(win, pdents[cur].name, max_display_width - x - 1); wattroff(win, A_BOLD); waddch(win, ' ');