Browse Source

Fix no preview update when dir changed with same entry number hovered

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

+ 3
- 1
src/nnn.c View File

@@ -4691,11 +4691,13 @@ static void notify_fifo()
}

static char *name = NULL;
static time_t t = {0};

if (dents[cur].name == name)
if (dents[cur].name == name && dents[cur].t == t)
return;

name = dents[cur].name;
t = dents[cur].t;

char path[PATH_MAX];
size_t len = mkpath(g_ctx[cfg.curctx].c_path, ndents ? name : "", path);


Loading…
Cancel
Save