Explorar el Código

Pin current path on archive/remote mount

master
Arun Prakash Jana hace 5 años
padre
commit
56b96cbf74
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 8 adiciones y 0 borrados
  1. +8
    -0
      src/nnn.c

+ 8
- 0
src/nnn.c Ver fichero

@@ -5737,6 +5737,10 @@ nochange:
goto nochange;
}

/* Pin current directory */
free(mark);
mark = xstrdup(path);

cdprep(lastdir, lastname, path, newpath)
? (presel = FILTER) : (watch = TRUE);
goto begin;
@@ -5827,6 +5831,10 @@ nochange:
goto nochange;
}

/* Pin current directory */
free(mark);
mark = xstrdup(path);

/* In list mode, retain the last file name to highlight it, if possible */
cdprep(lastdir, listpath && sel == SEL_CDLAST ? NULL : lastname, path, newpath)
? (presel = FILTER) : (watch = TRUE);


Cargando…
Cancelar
Guardar