From f52367a48168f95545bc15148b58076ce56155f8 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 6 Jun 2017 21:31:40 +0530 Subject: [PATCH] Set to the lat selected file --- nnn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: