aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-26 23:44:02 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-26 23:44:03 +0200
commit48f96c18dfa8d2f5c86dc7c6c538b0b003992200 (patch)
tree37e884885eea09d9ca6eee873ea590df34ab0852 /src/simplewallet
parentMerge pull request #2314 (diff)
parentFix refresh counter display (diff)
downloadmonero-48f96c18dfa8d2f5c86dc7c6c538b0b003992200.tar.xz
Merge pull request #2320
c656dd0e Fix refresh counter display (Howard Chu) c088d38a Simplify readline support (Howard Chu)
Diffstat (limited to 'src/simplewallet')
-rw-r--r--src/simplewallet/simplewallet.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 59916c30a..479adcafc 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -63,6 +63,10 @@
#include "wallet/wallet_args.h"
#include <stdexcept>
+#ifdef HAVE_READLINE
+#include "readline_buffer.h"
+#endif
+
using namespace std;
using namespace epee;
using namespace cryptonote;
@@ -1848,6 +1852,10 @@ bool simple_wallet::refresh_main(uint64_t start_height, bool reset)
if (reset)
m_wallet->rescan_blockchain(false);
+#ifdef HAVE_READLINE
+ rdln::suspend_readline pause_readline;
+#endif
+
message_writer() << tr("Starting refresh...");
uint64_t fetched_blocks = 0;