nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 1eb2ab24788e320ac3062457fdc1cb726d8ca7b8
parent 61e03e09610e176137300fd4a30287c03b546ea6
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun, 12 Jan 2020 19:40:33 +0530

Clear info line completely

Diffstat:
Msrc/nnn.c | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/nnn.c b/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();