forked from mirror/nnn
Fix deletion prompt when rm is used
This commit is contained in:
parent
a1feab8f79
commit
c772e13da1
1 changed files with 2 additions and 1 deletions
|
@ -1555,8 +1555,9 @@ static char confirm_force(bool selection, bool use_trash)
|
|||
{
|
||||
char str[64];
|
||||
|
||||
/* Note: ideally we should use utils[UTIL_RM_RF] instead of the "rm -rf" string */
|
||||
snprintf(str, 64, messages[MSG_FORCE_RM],
|
||||
use_trash ? utils[UTIL_GIO_TRASH] + 4 : utils[UTIL_RM_RF],
|
||||
use_trash ? utils[UTIL_GIO_TRASH] + 4 : "rm -rf",
|
||||
(selection ? "selected" : "hovered"));
|
||||
|
||||
int r = get_input(str);
|
||||
|
|
Loading…
Reference in a new issue