Pārlūkot izejas kodu

Redraw if no entries when navigate-as-you-type is turned off

The main reason to do this is to start watching the current dir for changes. In
any case, this does not harm; if there are dir entries shown on redraw that's
better than showing nothing.
master
Arun Prakash Jana pirms 6 gadiem
vecāks
revīzija
98c79a69b5
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: A75979F35C080412
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. +3
    -0
      nnn.c

+ 3
- 0
nnn.c Parādīt failu

@@ -2715,6 +2715,9 @@ nochange:
cfg.filtermode ^= 1; cfg.filtermode ^= 1;
if (cfg.filtermode) if (cfg.filtermode)
presel = FILTER; presel = FILTER;
else if (!ndents)
/* If there are no entries refresh to start watching dir */
goto begin;
else else
printmsg("navigate-as-you-type off"); printmsg("navigate-as-you-type off");
goto nochange; goto nochange;


Notiek ielāde…
Atcelt
Saglabāt