Move print_pending_errors to text_io_handler

This commit is contained in:
Twan van Laarhoven
2020-04-20 23:04:38 +02:00
parent b283a02d2f
commit b8c5a312e6
4 changed files with 20 additions and 14 deletions
+2 -1
View File
@@ -38,6 +38,7 @@ public:
/// Show an error or warning message
void show_message(MessageType type, String const& message);
void print_pending_errors();
bool shown_errors() const;
/// Enable raw mode
@@ -49,7 +50,7 @@ public:
private:
bool have_console;
bool escapes;
FILE* stream;
FILE* stream; ///< Output stream
String buffer; ///< Buffer when not writing to console
bool raw_mode;
int raw_mode_status;