ccmake: Fix mangled configuration log with PDCurses on Windows
Fix this comment: #18053 (comment 1172206)
The reason seems to be related to the overloading of REQ_NEW_LINE
(O_NL_OVERLOAD
). I didn't find the exact issue, but on the first call it would move to the 'next' field and gracefully put text at the start, on the second call however it would for some reason render in a different location (maybe a hidden field?). This fix seems to work on both Windows and Ubuntu (WSL).
Issue: #18053
Backport: release
Topic-rename: ccmake-fix-pdcurses-windows
Edited by Brad King