ソースを参照

Clear info line completely

master
Arun Prakash Jana 4年前
コミット
1eb2ab2478
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: A75979F35C080412
1個のファイルの変更7行の追加6行の削除
  1. +7
    -6
      src/nnn.c

+ 7
- 6
src/nnn.c ファイルの表示

@@ -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();


読み込み中…
キャンセル
保存