From 8f3c79374900ca77c126976036290d10f9999598 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 12 Oct 2018 21:02:59 +0000 Subject: readline_buffer: fix "cursor in prompt" bug It happens when readline displays a prompt just before switching to a shorter one --- contrib/epee/include/readline_buffer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/epee/include') 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& completion_commands(); }; -- cgit v1.2.3