diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-12 21:02:59 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-12 21:03:59 +0000 |
commit | 8f3c79374900ca77c126976036290d10f9999598 (patch) | |
tree | 980f4e685b28e37c40076998350c6d8247af40f7 /contrib/epee/include/readline_buffer.h | |
parent | Merge pull request #4543 (diff) | |
download | monero-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/readline_buffer.h')
-rw-r--r-- | contrib/epee/include/readline_buffer.h | 1 |
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(); }; |