From: Arun Prakash Jana Date: Tue, 6 Jun 2017 16:01:40 +0000 (+0530) Subject: Set to the lat selected file X-Git-Tag: v1.2~25 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=f52367a48168f95545bc15148b58076ce56155f8;p=nnn.git Set to the lat selected file --- diff --git a/nnn.c b/nnn.c index 7af3c4dd..d2740aba 100644 --- a/nnn.c +++ b/nnn.c @@ -757,7 +757,8 @@ readln(char *path) printprompt(ln); break; case CONTROL('L'): - cur = oldcur; // fallthrough + if (len == 1) + cur = oldcur; // fallthrough case CONTROL('Q'): goto end; default: