Kaynağa Gözat

Drop ^T, no reload after empty cmd at prompt

master
Arun Prakash Jana 5 yıl önce
ebeveyn
işleme
8955d039c6
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: A75979F35C080412
2 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. +3
    -1
      src/nnn.c
  2. +0
    -1
      src/nnn.h

+ 3
- 1
src/nnn.c Dosyayı Görüntüle

@@ -3494,7 +3494,7 @@ static void show_help(const char *path)
"cv version%-17cE Extension\n"
"1MISC\n"
"9! ^] Shell%-17c; x Execute plugin\n"
"9] ^T Cmd prompt%-13c^P Pick plugin\n"
"c] Cmd prompt%-13c^P Pick plugin\n"
"cs Manage session%-10c= Launch app\n"
"cc Connect remote%-10cu Unmount\n"
};
@@ -5341,6 +5341,8 @@ nochange:
#endif
if (tmp && *tmp) // NOLINT
prompt_run(tmp, (ndents ? dents[cur].name : ""), path);
else
goto nochange;
}

/* Continue in navigate-as-you-type mode, if enabled */


+ 0
- 1
src/nnn.h Dosyayı Görüntüle

@@ -243,7 +243,6 @@ static struct key bindings[] = {
{ '=', SEL_LAUNCH },
/* Run a command */
{ ']', SEL_RUNCMD },
{ CONTROL('T'), SEL_RUNCMD },
/* Open in EDITOR or PAGER */
{ 'e', SEL_RUNEDIT },
{ 'p', SEL_RUNPAGE },


Yükleniyor…
İptal
Kaydet