mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Fix #744
This commit is contained in:
parent
627c5cfc36
commit
51009f8241
17
src/nnn.c
17
src/nnn.c
|
@ -5716,11 +5716,16 @@ static void redraw(char *path)
|
|||
|
||||
attroff(A_UNDERLINE | COLOR_PAIR(cfg.curctx + 1));
|
||||
|
||||
/* Go to first entry */
|
||||
move(2, 0);
|
||||
|
||||
ncols = adjust_cols(ncols);
|
||||
|
||||
/* Go to first entry */
|
||||
if (curscroll > 0) {
|
||||
move(1, 0);
|
||||
addch('^');
|
||||
}
|
||||
|
||||
move(2, 0);
|
||||
|
||||
if (g_state.oldcolor) {
|
||||
attron(COLOR_PAIR(cfg.curctx + 1) | A_BOLD);
|
||||
g_state.dircolor = 1;
|
||||
|
@ -5736,6 +5741,12 @@ static void redraw(char *path)
|
|||
g_state.dircolor = 0;
|
||||
}
|
||||
|
||||
/* Go to first entry */
|
||||
if (i < ndents) {
|
||||
move(xlines - 2, 0);
|
||||
addch('v');
|
||||
}
|
||||
|
||||
statusbar(path);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue