summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesLongMessageForm.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/cmCursesLongMessageForm.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/cmCursesLongMessageForm.h')
-rw-r--r--Source/CursesDialog/cmCursesLongMessageForm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CursesDialog/cmCursesLongMessageForm.h b/Source/CursesDialog/cmCursesLongMessageForm.h
index a482e61..da9fea2 100644
--- a/Source/CursesDialog/cmCursesLongMessageForm.h
+++ b/Source/CursesDialog/cmCursesLongMessageForm.h
@@ -27,6 +27,8 @@ public:
cmCursesLongMessageForm(cmCursesLongMessageForm const&) = delete;
cmCursesLongMessageForm& operator=(cmCursesLongMessageForm const&) = delete;
+ void UpdateContent(std::string const& output, std::string const& title);
+
// Description:
// Handle user input.
void HandleInput() override;