diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-07-19 11:52:26 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-07-19 11:52:27 +0200 |
commit | ab594cfee94dff87bb7039724563f6177a892b8b (patch) | |
tree | d27a4262a0b660b3391d586d09be70eff60c80d8 /src | |
parent | Merge pull request #2157 (diff) | |
parent | Add various readline related fixes (diff) | |
download | monero-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.cpp | 4 |
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(); |