mirror of
https://github.com/monero-project/monero.git
synced 2025-09-26 05:50:57 -04:00
Merge pull request #2159
6955976b
Add various readline related fixes (Jethro Grassie)
This commit is contained in:
commit
ab594cfee9
4 changed files with 76 additions and 18 deletions
|
@ -65,8 +65,7 @@
|
|||
#ifdef HAVE_READLINE
|
||||
#include "readline_buffer.h"
|
||||
#define PAUSE_READLINE() \
|
||||
rdln::suspend_readline pause_readline; \
|
||||
std::cout << std::endl
|
||||
rdln::suspend_readline pause_readline;
|
||||
#else
|
||||
#define PAUSE_READLINE()
|
||||
#endif
|
||||
|
@ -195,6 +194,7 @@ namespace
|
|||
}
|
||||
else
|
||||
{
|
||||
PAUSE_READLINE();
|
||||
set_console_color(m_color, m_bright);
|
||||
std::cout << m_oss.str();
|
||||
reset_console_color();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue