Procházet zdrojové kódy

A nocolor msg print

master
Arun Prakash Jana před 5 roky
rodič
revize
b060115a19
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: A75979F35C080412
1 změnil soubory, kde provedl 8 přidání a 3 odebrání
  1. +8
    -3
      src/nnn.c

+ 8
- 3
src/nnn.c Zobrazit soubor

@@ -556,7 +556,7 @@ static const char * const messages[] = {
"'s'shfs / 'r'clone?",
"refresh if slow",
"app name: ",
"'d'efault / e'x'tract / 'l'ist / 'm'ount?",
"'d'efault / 'e'xtract / 'l'ist / 'm'ount?",
"plugin keys:",
"bookmark keys:",
"invalid regex",
@@ -785,12 +785,17 @@ static void clearoldprompt(void)
#endif

/* Messages show up at the bottom */
static void printmsg(const char *msg)
static inline void printmsg_nc(const char *msg)
{
tolastln();
attron(COLOR_PAIR(cfg.curctx + 1) | A_REVERSE);
addstr(msg);
hline(' ', xcols);
}

static void printmsg(const char *msg)
{
attron(COLOR_PAIR(cfg.curctx + 1) | A_REVERSE);
printmsg_nc(msg);
attroff(COLOR_PAIR(cfg.curctx + 1) | A_REVERSE);
}



Načítá se…
Zrušit
Uložit