mirror of
https://github.com/jarun/nnn.git
synced 2025-03-12 17:54:04 +00:00
Copy the correct length
This commit is contained in:
parent
90cf84186a
commit
4178aaa98e
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw
|
|||
|
||||
- Instantly load, sort, filter thousands of files
|
||||
- Type to navigate with automatic dir selection
|
||||
- Never lose context - start where you quit `nnn`
|
||||
- Never lose context - start where you quit
|
||||
- find/fd/grep/ripgrep/fzf from `nnn` and list in `nnn`
|
||||
- Mount any cloud storage service in a few keypresses
|
||||
- Select files from anywhere (not just a single dir)
|
||||
|
|
|
@ -6433,7 +6433,7 @@ nochange:
|
|||
*/
|
||||
if (strcmp(path, plgpath) == 0) {
|
||||
xstrsncpy(path, rundir, PATH_MAX);
|
||||
xstrsncpy(lastname, runfile, NAME_MAX);
|
||||
xstrsncpy(lastname, runfile, NAME_MAX + 1);
|
||||
rundir[0] = runfile[0] = '\0';
|
||||
setdirwatch();
|
||||
goto begin;
|
||||
|
|
Loading…
Add table
Reference in a new issue