src/nnn.c | 2 +- diff --git a/src/nnn.c b/src/nnn.c index aea0b6936e74715302e7d924af0597a0ae37d467..accef97b1862cc6cfe8b830f3daf38c7c8058c96 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3486,7 +3486,7 @@ while (1) { buf[len] = ' '; attron(COLOR_PAIR(cfg.curctx + 1)); if (pos > (size_t)(xcols - x)) { - mvaddnwstr(xlines - 1, x, buf + (pos - (xcols - x)), xcols - x); + mvaddnwstr(xlines - 1, x, buf + (pos - (xcols - x) + 1), xcols - x); move(xlines - 1, xcols - 1); } else { mvaddnwstr(xlines - 1, x, buf, len + 1);