Display the path of the selected file in the CL
For convenience only, display the path in the terminal of the file clicked by the user. At least this helps me remembering which variable holds the file path
This commit is contained in:
parent
a51d9eec96
commit
ae5533375e
@ -468,6 +468,7 @@ file_browser_run(struct file_browser *browser, struct nk_context *ctx)
|
||||
strncpy(browser->file, browser->directory, MAX_PATH_LEN);
|
||||
n = strlen(browser->file);
|
||||
strncpy(browser->file + n, browser->files[fileIndex], MAX_PATH_LEN - n);
|
||||
puts(browser->file);
|
||||
ret = 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user