diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/nnn.c | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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(); |