aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-07-19 11:52:26 +0200
committerRiccardo Spagni <ric@spagni.net>2017-07-19 11:52:27 +0200
commitab594cfee94dff87bb7039724563f6177a892b8b (patch)
treed27a4262a0b660b3391d586d09be70eff60c80d8 /src
parentMerge pull request #2157 (diff)
parentAdd various readline related fixes (diff)
downloadmonero-ab594cfee94dff87bb7039724563f6177a892b8b.tar.xz
Merge pull request #2159
6955976b Add various readline related fixes (Jethro Grassie)
Diffstat (limited to 'src')
-rw-r--r--src/simplewallet/simplewallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index c1f2d3495..adf2fde80 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -65,8 +65,7 @@
#ifdef HAVE_READLINE
#include "readline_buffer.h"
#define PAUSE_READLINE() \
- rdln::suspend_readline pause_readline; \
- std::cout << std::endl
+ rdln::suspend_readline pause_readline;
#else
#define PAUSE_READLINE()
#endif
@@ -195,6 +194,7 @@ namespace
}
else
{
+ PAUSE_READLINE();
set_console_color(m_color, m_bright);
std::cout << m_oss.str();
reset_console_color();