Arun Prakash Jana 4 years ago
parent
commit
51009f8241
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 13 additions and 2 deletions
  1. +13
    -2
      src/nnn.c

+ 13
- 2
src/nnn.c View File

@@ -5716,10 +5716,15 @@ static void redraw(char *path)


attroff(A_UNDERLINE | COLOR_PAIR(cfg.curctx + 1)); attroff(A_UNDERLINE | COLOR_PAIR(cfg.curctx + 1));


ncols = adjust_cols(ncols);

/* Go to first entry */ /* Go to first entry */
move(2, 0);
if (curscroll > 0) {
move(1, 0);
addch('^');
}


ncols = adjust_cols(ncols);
move(2, 0);


if (g_state.oldcolor) { if (g_state.oldcolor) {
attron(COLOR_PAIR(cfg.curctx + 1) | A_BOLD); attron(COLOR_PAIR(cfg.curctx + 1) | A_BOLD);
@@ -5736,6 +5741,12 @@ static void redraw(char *path)
g_state.dircolor = 0; g_state.dircolor = 0;
} }


/* Go to first entry */
if (i < ndents) {
move(xlines - 2, 0);
addch('v');
}

statusbar(path); statusbar(path);
} }




Loading…
Cancel
Save