mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
dirs and files can be created with parent dirs
This commit is contained in:
parent
5b7448bac9
commit
f0ca47afae
|
@ -4873,7 +4873,7 @@ nochange:
|
||||||
case SEL_NEW:
|
case SEL_NEW:
|
||||||
r = get_input("create 'f'(ile) / 'd'(ir) / 's'(ym) / 'h'(ard)?");
|
r = get_input("create 'f'(ile) / 'd'(ir) / 's'(ym) / 'h'(ard)?");
|
||||||
if (r == 'f' || r == 'd')
|
if (r == 'f' || r == 'd')
|
||||||
tmp = xreadline(NULL, "name: ");
|
tmp = xreadline(NULL, "relative path: ");
|
||||||
else if (r == 's' || r == 'h')
|
else if (r == 's' || r == 'h')
|
||||||
tmp = xreadline(NULL, "link suffix [@ for none]: ");
|
tmp = xreadline(NULL, "link suffix [@ for none]: ");
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue