mirror of
https://github.com/jarun/nnn.git
synced 2024-09-11 13:06:14 +03:00
Merge pull request #1507 from N-R-K/prompt_prefill
prefill the prompt when there's a single target
This commit is contained in:
commit
0c4180f2d8
@ -7538,7 +7538,7 @@ nochange:
|
||||
if (r == 'f' || r == 'd')
|
||||
tmp = xreadline(NULL, messages[MSG_NEW_PATH]);
|
||||
else if (r == 's' || r == 'h')
|
||||
tmp = xreadline(NULL,
|
||||
tmp = xreadline(nselected == 1 ? xbasename(pselbuf) : NULL,
|
||||
messages[nselected <= 1?MSG_NEW_PATH:MSG_LINK_PREFIX]);
|
||||
else
|
||||
tmp = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user