summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesLongMessageForm.cxx
diff options
context:
space:
mode:
authorDuncan Ogilvie <mr.exodia.tpodt@gmail.com>2022-01-14 16:31:28 (GMT)
committerBrad King <brad.king@kitware.com>2022-01-18 21:35:39 (GMT)
commit9278c6e01a1ce1b93b51522d1bee50eceaf86c3c (patch)
tree8e4c28b06b67f63b06d74b7903f5144cad94f348 /Source/CursesDialog/cmCursesLongMessageForm.cxx
parentb97c12babbc87324b8005cf7e81640e1f3c0ecf6 (diff)
downloadCMake-9278c6e01a1ce1b93b51522d1bee50eceaf86c3c.zip
CMake-9278c6e01a1ce1b93b51522d1bee50eceaf86c3c.tar.gz
CMake-9278c6e01a1ce1b93b51522d1bee50eceaf86c3c.tar.bz2
ccmake: Add Windows support using PDCurses
Diffstat (limited to 'Source/CursesDialog/cmCursesLongMessageForm.cxx')
-rw-r--r--Source/CursesDialog/cmCursesLongMessageForm.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/CursesDialog/cmCursesLongMessageForm.cxx b/Source/CursesDialog/cmCursesLongMessageForm.cxx
index 7f1815f..9b3a649 100644
--- a/Source/CursesDialog/cmCursesLongMessageForm.cxx
+++ b/Source/CursesDialog/cmCursesLongMessageForm.cxx
@@ -177,6 +177,12 @@ void cmCursesLongMessageForm::HandleInput()
this->PrintKeys();
int key = getch();
+#ifdef _WIN32
+ if (key == KEY_RESIZE) {
+ HandleResize();
+ }
+#endif // _WIN32
+
snprintf(debugMessage, sizeof(debugMessage),
"Message widget handling input, key: %d", key);
cmCursesForm::LogMessage(debugMessage);