mirror of
https://github.com/jarun/nnn.git
synced 2024-11-17 16:39:14 +00:00
Show selected items in rm msg
Close https://github.com/jarun/nnn/issues/1479
This commit is contained in:
parent
f56a8caf65
commit
4f57e0df37
|
@ -634,7 +634,7 @@ static const char * const messages[] = {
|
||||||
"session name: ",
|
"session name: ",
|
||||||
"'c'p/'m'v as?",
|
"'c'p/'m'v as?",
|
||||||
"'c'urrent/'s'el?",
|
"'c'urrent/'s'el?",
|
||||||
"%s %s? [Esc cancels]",
|
"%s %s%s? [Esc cancels]",
|
||||||
"size limit exceeded",
|
"size limit exceeded",
|
||||||
"'f'ile/'d'ir/'s'ym/'h'ard?",
|
"'f'ile/'d'ir/'s'ym/'h'ard?",
|
||||||
"'c'li/'g'ui?",
|
"'c'li/'g'ui?",
|
||||||
|
@ -1429,7 +1429,8 @@ static char confirm_force(bool selection)
|
||||||
|
|
||||||
snprintf(str, 64, messages[MSG_FORCE_RM],
|
snprintf(str, 64, messages[MSG_FORCE_RM],
|
||||||
g_state.trash ? utils[UTIL_GIO_TRASH] + 4 : utils[UTIL_RM_RF],
|
g_state.trash ? utils[UTIL_GIO_TRASH] + 4 : utils[UTIL_RM_RF],
|
||||||
(selection ? "selection" : "hovered"));
|
(selection ? "selected " : "hovered"),
|
||||||
|
(selection ? xitoa(nselected) : ""));
|
||||||
|
|
||||||
int r = get_input(str);
|
int r = get_input(str);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue