mirror of
https://github.com/monero-project/monero.git
synced 2025-05-18 03:40:26 -04:00
readline_buffer: fix "cursor in prompt" bug
It happens when readline displays a prompt just before switching to a shorter one
This commit is contained in:
parent
77e1ebff26
commit
8f3c793749
2 changed files with 5 additions and 1 deletions
|
@ -27,6 +27,7 @@ namespace rdln
|
|||
|
||||
private:
|
||||
std::streambuf* m_cout_buf;
|
||||
size_t m_prompt_length;
|
||||
static std::vector<std::string>& completion_commands();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue