Explorar el Código

Refresh on empty command

master
Arun Prakash Jana hace 5 años
padre
commit
c4c162f33a
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: A75979F35C080412
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. +2
    -3
      src/nnn.c

+ 2
- 3
src/nnn.c Ver fichero

@@ -3422,9 +3422,8 @@ nochange:
spawn(shell, tmp, dir, path, F_NORMAL | F_SIGINT);
} else if (sel == SEL_RUNCMD) {
tmp = xreadline(NULL, "> ");
if (!tmp || !tmp[0])
break;
spawn(shell, "-c", tmp, path, F_NORMAL | F_SIGINT);
if (tmp && tmp[0])
spawn(shell, "-c", tmp, path, F_NORMAL | F_SIGINT);
} else
spawn(shell, shell_arg, NULL, path, F_NORMAL | F_MARKER);



Cargando…
Cancelar
Guardar