Browse Source

Remove weak check for CLI detection

master
Arun Prakash Jana 5 years ago
parent
commit
3489c87b98
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      src/nnn.c

+ 0
- 5
src/nnn.c View File

@@ -3390,11 +3390,6 @@ 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…
Cancel
Save