plugins/README.md | 2 +- src/nnn.c | 8 ++++---- diff --git a/plugins/README.md b/plugins/README.md index 8d3b09add4772e74f6de7e6648a75e9af9f21d62..2ab729dea9173de1b4b70e89fe7d9c12e52f8e4e 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -72,7 +72,7 @@ | [upgrade](upgrade) | Upgrade nnn manually on Debian 9 Stretch | sh | curl | | [upload](upload) | Upload to Firefox Send or ix.io (text) or file.io (bin) | sh | [ffsend](https://github.com/timvisee/ffsend), curl, jq, tr | | [vidthumb](vidthumb) | Show video thumbnails in terminal | sh | [ffmpegthumbnailer](https://github.com/dirkvdb/ffmpegthumbnailer),
[lsix](https://github.com/hackerb9/lsix) | | [wall](wall) | Set wallpaper or change colorscheme | sh | nitrogen/pywal | -| [x2sel](x2sel) | Copy `\n`-separated file list from system clipboard to sel | sh | _see in-file docs_ | +| [x2sel](x2sel) | Copy file list from system clipboard to selection | sh | _see in-file docs_ | | [xdgdefault](xdgdefault) | Set the default app for the hovered file type | sh | xdg-utils, fzf | Note: diff --git a/src/nnn.c b/src/nnn.c index 4a55900b03bb22004f24d84043e76e8e0904e5ed..e13750e1434f6179979bb1a8c69eecf34dc7b3aa 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -5751,15 +5751,15 @@ attron(COLOR_PAIR(cfg.curctx + 1)); printw("%d/%s ", cur + 1, xitoa(ndents)); - if (g_state.selmode) { + if (g_state.selmode || nselected) { attron(A_REVERSE); addch(' '); if (g_state.rangesel) addch('*'); - else if (nselected) - addstr(xitoa(nselected)); - else + else if (g_state.selmode) addch('+'); + if (nselected) + addstr(xitoa(nselected)); addch(' '); attroff(A_REVERSE); addch(' ');