diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/console.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/console.cc b/src/client/console.cc index 28d80f0..9e2a782 100644 --- a/src/client/console.cc +++ b/src/client/console.cc @@ -37,6 +37,9 @@ public: /// stream to send debug messages too virtual std::ostream & debugstream(); + /// flush buffered messages + virtual void flush(); + /// console text buffer std::stringstream buffer; }; @@ -356,6 +359,10 @@ void load_history() } //--- private ----------------------------------------------------- +void Console::flush() +{ + console::flush(); +} std::ostream & Console::messagestream() { return (buffer << ". "); |