mirror of
https://github.com/jarun/nnn.git
synced 2025-03-12 17:54:04 +00:00
Fix
This commit is contained in:
parent
9f68e74289
commit
f4ec874b79
1 changed files with 5 additions and 0 deletions
|
@ -3390,6 +3390,11 @@ static void browse(char *ipath)
|
|||
if (!pnamebuf)
|
||||
errexit();
|
||||
|
||||
#ifdef __linux__
|
||||
if (!getenv("DISPLAY"))
|
||||
opener_flags = F_CLI;
|
||||
#endif
|
||||
|
||||
begin:
|
||||
#ifdef LINUX_INOTIFY
|
||||
if ((presel == FILTER || dir_changed) && inotify_wd >= 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue