aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-12 21:02:59 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-12 21:03:59 +0000
commit8f3c79374900ca77c126976036290d10f9999598 (patch)
tree980f4e685b28e37c40076998350c6d8247af40f7 /contrib/epee/include
parentMerge pull request #4543 (diff)
downloadmonero-8f3c79374900ca77c126976036290d10f9999598.tar.xz
readline_buffer: fix "cursor in prompt" bug
It happens when readline displays a prompt just before switching to a shorter one
Diffstat (limited to 'contrib/epee/include')
-rw-r--r--contrib/epee/include/readline_buffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/epee/include/readline_buffer.h b/contrib/epee/include/readline_buffer.h
index 87c8826cb..5968d243d 100644
--- a/contrib/epee/include/readline_buffer.h
+++ b/contrib/epee/include/readline_buffer.h
@@ -27,6 +27,7 @@ namespace rdln
private:
std::streambuf* m_cout_buf;
+ size_t m_prompt_length;
static std::vector<std::string>& completion_commands();
};