diff --git a/src/nnn.c b/src/nnn.c index b50f8d40..ba96805a 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -1007,6 +1007,9 @@ static bool editselection(void) } } + /* Add a line for the last file */ + ++lines; + if (lines > nselected) { DPRINTF_S("files added to selection"); goto emptyedit;