ccmake: Refactor resizing logic into cmCursesForm
3 files changed