Sfoglia il codice sorgente

Support key 'q' to exit extra screens

master
Arun Prakash Jana 8 anni fa
parent
commit
0b4056727f
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: A75979F35C080412
1 ha cambiato i file con 8 aggiunte e 4 eliminazioni
  1. +8
    -4
      nnn.c

+ 8
- 4
nnn.c Vedi File

@@ -898,8 +898,10 @@ show_stats(char* fpath, char* fname, struct stat *sb)
}

/* Show exit keys */
printw("\n\n << (D)");
while ((*buf = getch()) != 'D');
printw("\n\n << (D/q)");
while ((*buf = getch()))
if (*buf == 'D' || *buf == 'q')
break;
return;
}

@@ -941,8 +943,10 @@ show_help(void)
q Quit\n");

/* Show exit keys */
printw("\n\n << (?)");
while ((c = getch()) != '?');
printw("\n\n << (?/q)");
while ((c = getch()))
if (c == '?' || c == 'q')
break;
return;
}



Loading…
Annulla
Salva