summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorSylvain Joubert <joubert.sy@gmail.com>2019-10-20 12:22:46 (GMT)
committerSylvain Joubert <joubert.sy@gmail.com>2019-10-20 12:25:05 (GMT)
commit9276beae5e2ce958e4c88995af56fe580d894d8b (patch)
tree2c3bf44baedef298143f850b9cdb1212005a0868 /Source/CursesDialog
parent92780281c2e8a46223b262b152caa9c8329373b1 (diff)
downloadCMake-9276beae5e2ce958e4c88995af56fe580d894d8b.zip
CMake-9276beae5e2ce958e4c88995af56fe580d894d8b.tar.gz
CMake-9276beae5e2ce958e4c88995af56fe580d894d8b.tar.bz2
ccmake: Fully clear the 1st help line when processing
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx2
1 files changed, 1 insertions, 1 deletions
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);