summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesMainForm.h
diff options
context:
space:
mode:
authorSylvain Joubert <joubert.sy@gmail.com>2020-04-06 13:42:24 (GMT)
committerBrad King <brad.king@kitware.com>2020-04-08 18:40:09 (GMT)
commit60bfaa8fe61fe65b706a304ce4e48f85c13f7c15 (patch)
treec0db033c7015ab6e2d782b33ce72f19ca285b8a3 /Source/CursesDialog/cmCursesMainForm.h
parente9b36731e957456cee5ef43e8f80d6cf8bedde96 (diff)
downloadCMake-60bfaa8fe61fe65b706a304ce4e48f85c13f7c15.zip
CMake-60bfaa8fe61fe65b706a304ce4e48f85c13f7c15.tar.gz
CMake-60bfaa8fe61fe65b706a304ce4e48f85c13f7c15.tar.bz2
ccmake: Use incremental rendering for the logs
This should avoid an exponential slowdown in the display time for projects with lots of output. This is still slower than cmake due to the ncurses drawing, but it should now be O(L) in total and not O(L^2) wrt to output length. Fixes: #20535
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.h')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.h b/Source/CursesDialog/cmCursesMainForm.h
index b7c204d..2e06b90 100644
--- a/Source/CursesDialog/cmCursesMainForm.h
+++ b/Source/CursesDialog/cmCursesMainForm.h
@@ -129,7 +129,7 @@ protected:
void ResetOutputs();
// Display the current progress and output
- void DisplayOutputs();
+ void DisplayOutputs(std::string const& newOutput);
// Copies of cache entries stored in the user interface
std::vector<cmCursesCacheEntryComposite> Entries;