nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f4ec874b791326674d73aaf1d34cdd50a5a9e06d
parent 9f68e74289ce85eb35781beb5edaf879328a13d9
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Thu,  3 Oct 2019 03:44:54 +0530

Fix

Diffstat:
Msrc/nnn.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -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) {