summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/cmCursesStringWidget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesStringWidget.cxx b/Source/CursesDialog/cmCursesStringWidget.cxx
index 2654998..31ed312 100644
--- a/Source/CursesDialog/cmCursesStringWidget.cxx
+++ b/Source/CursesDialog/cmCursesStringWidget.cxx
@@ -75,7 +75,7 @@ bool cmCursesStringWidget::HandleInput(int& key, cmCursesMainForm* fm,
FORM* form = fm->GetForm();
// 10 == enter
- if (!m_InEdit && ( key != 10 ) )
+ if (!m_InEdit && ( key != 10 && key != KEY_ENTER ) )
{
return false;
}