summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesLongMessageForm.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/cmCursesLongMessageForm.cxx
parentcb4f04c94e5815393e9b1d765588c23656149b4e (diff)
downloadCMake-d42ded5b166b37d29c9837c5f3e0bceaa661c5ba.zip
CMake-d42ded5b166b37d29c9837c5f3e0bceaa661c5ba.tar.gz
CMake-d42ded5b166b37d29c9837c5f3e0bceaa661c5ba.tar.bz2
Added debugging.
Diffstat (limited to 'Source/CursesDialog/cmCursesLongMessageForm.cxx')
-rw-r--r--Source/CursesDialog/cmCursesLongMessageForm.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CursesDialog/cmCursesLongMessageForm.cxx b/Source/CursesDialog/cmCursesLongMessageForm.cxx
index 80940a5..83c01f1 100644
--- a/Source/CursesDialog/cmCursesLongMessageForm.cxx
+++ b/Source/CursesDialog/cmCursesLongMessageForm.cxx
@@ -156,10 +156,15 @@ void cmCursesLongMessageForm::HandleInput()
return;
}
+ char debugMessage[128];
+
while(1)
{
int key = getch();
+ sprintf(debugMessage, "Message widget handling input, key: %d", key);
+ cmCursesForm::LogMessage(debugMessage);
+
// quit
if ( key == 'o' )
{