瀏覽代碼

Clear info line completely

master
Arun Prakash Jana 4 年之前
父節點
當前提交
1eb2ab2478
沒有發現已知的金鑰在資料庫的簽署中 GPG Key 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();


Loading…
取消
儲存