Pārlūkot izejas kodu

Clear info line completely

master
Arun Prakash Jana pirms 4 gadiem
vecāks
revīzija
1eb2ab2478
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: A75979F35C080412
1 mainītis faili ar 7 papildinājumiem un 6 dzēšanām
  1. +7
    -6
      src/nnn.c

+ 7
- 6
src/nnn.c Parādīt failu

@@ -652,10 +652,17 @@ static char *xitoa(uint val)
return &ascbuf[++i];
}

static void clearinfoln(void)
{
move(xlines - 2, 0);
clrtoeol();
}

#ifdef KEY_RESIZE
/* Clear the old prompt */
static void clearoldprompt(void)
{
clearinfoln();
tolastln();
clrtoeol();
}
@@ -694,12 +701,6 @@ static void printprompt(const char *str)
addstr(str);
}

static void clearinfoln(void)
{
move(xlines - 2, 0);
addstr("");
}

static void printinfoln(const char *str)
{
clearinfoln();


Notiek ielāde…
Atcelt
Saglabāt