summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesMainForm.cxx
diff options
context:
space:
mode:
authorBerk Geveci <berk.geveci@kitware.com>2001-12-04 16:16:04 (GMT)
committerBerk Geveci <berk.geveci@kitware.com>2001-12-04 16:16:04 (GMT)
commitd42ded5b166b37d29c9837c5f3e0bceaa661c5ba (patch)
tree4eaec928dec9f555fca4067f3d85ddac8f5ba4ce /Source/CursesDialog/cmCursesMainForm.cxx
parentcb4f04c94e5815393e9b1d765588c23656149b4e (diff)
downloadCMake-d42ded5b166b37d29c9837c5f3e0bceaa661c5ba.zip
CMake-d42ded5b166b37d29c9837c5f3e0bceaa661c5ba.tar.gz
CMake-d42ded5b166b37d29c9837c5f3e0bceaa661c5ba.tar.bz2
Added debugging.
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.cxx')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index 33d70ba..516a945 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -539,6 +539,9 @@ void cmCursesMainForm::HandleInput()
FIELD* currentField;
cmCursesWidget* currentWidget;
+
+ char debugMessage[128];
+
while(1)
{
this->UpdateStatusBar();
@@ -551,6 +554,8 @@ void cmCursesMainForm::HandleInput()
if (!currentWidget || !currentWidget->HandleInput(key, m_Form, stdscr))
{
+ sprintf(debugMessage, "Main form handling input, key: %d", key);
+ cmCursesForm::LogMessage(debugMessage);
// quit
if ( key == 'q' )
{