diff options
Diffstat (limited to 'Source/CursesDialog/cmCursesLongMessageForm.h')
-rw-r--r-- | Source/CursesDialog/cmCursesLongMessageForm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/CursesDialog/cmCursesLongMessageForm.h b/Source/CursesDialog/cmCursesLongMessageForm.h index 88efe62..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; @@ -47,6 +49,10 @@ public: void UpdateStatusBar() override; protected: + static constexpr int MAX_CONTENT_SIZE = 60000; + + void DrawMessage(const char* msg) const; + std::string Messages; std::string Title; ScrollBehavior Scrolling; |