diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-12-04 17:30:29 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-12-04 17:30:30 +0200 |
commit | 302fd80826129def2a67ea38b6419aaf67f8a713 (patch) | |
tree | 069f4cb86b1e23915e2ef86ccb9a5c29f8ef7935 /src/common | |
parent | Merge pull request #4866 (diff) | |
parent | scoped_message_writer: protect all std::cout usage from readline (diff) | |
download | monero-302fd80826129def2a67ea38b6419aaf67f8a713.tar.xz |
Merge pull request #4882
6bfcc573 scoped_message_writer: protect all std::cout usage from readline (moneromooo-monero)
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/scoped_message_writer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/scoped_message_writer.h b/src/common/scoped_message_writer.h index d887a13c9..42f439ad8 100644 --- a/src/common/scoped_message_writer.h +++ b/src/common/scoped_message_writer.h @@ -101,13 +101,13 @@ public: MCLOG_FILE(m_log_level, "msgwriter", m_oss.str()); + PAUSE_READLINE(); if (epee::console_color_default == m_color) { std::cout << m_oss.str(); } else { - PAUSE_READLINE(); set_console_color(m_color, m_bright); std::cout << m_oss.str(); epee::reset_console_color(); |