mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
BUG: fix for 981 cursor returns to correct place in help screen
This commit is contained in:
@@ -1038,8 +1038,10 @@ void cmCursesMainForm::HandleInput()
|
||||
CurrentForm = msgs;
|
||||
msgs->Render(1,1,x,y);
|
||||
msgs->HandleInput();
|
||||
CurrentForm = this;
|
||||
CurrentForm = this;
|
||||
this->Render(1,1,x,y);
|
||||
set_current_field(m_Form, cur);
|
||||
delete msgs;
|
||||
}
|
||||
// display last errors
|
||||
else if ( key == 'l' )
|
||||
@@ -1052,6 +1054,7 @@ void cmCursesMainForm::HandleInput()
|
||||
msgs->HandleInput();
|
||||
CurrentForm = this;
|
||||
this->Render(1,1,x,y);
|
||||
delete msgs;
|
||||
}
|
||||
else if ( key == '/' )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user