From 9276beae5e2ce958e4c88995af56fe580d894d8b Mon Sep 17 00:00:00 2001 From: Sylvain Joubert Date: Sun, 20 Oct 2019 14:22:46 +0200 Subject: ccmake: Fully clear the 1st help line when processing --- Source/CursesDialog/cmCursesMainForm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx index ad3debb..6b71e8a 100644 --- a/Source/CursesDialog/cmCursesMainForm.cxx +++ b/Source/CursesDialog/cmCursesMainForm.cxx @@ -341,7 +341,7 @@ void cmCursesMainForm::PrintKeys(int process /* = 0 */) char fmt[512] = "Press [enter] to edit option Press [d] to delete an entry"; if (process) { - memset(fmt, ' ', 27); + memset(fmt, ' ', 57); } printw(fmt_s, fmt); curses_move(y - 3, 0); -- cgit v0.12