mirror of
https://github.com/monero-project/monero.git
synced 2024-12-13 20:06:32 +02:00
console_handler: print newline on EOF
This avoids the annoying case where the shell prints its prompt after the last line from Monero output, causing line editing to sometimes go wonky, for lack of a better term
This commit is contained in:
parent
1d1a02e9f9
commit
6ef816de2b
@ -357,6 +357,7 @@ eof:
|
|||||||
if (m_stdin_reader.eos())
|
if (m_stdin_reader.eos())
|
||||||
{
|
{
|
||||||
MGINFO("EOF on stdin, exiting");
|
MGINFO("EOF on stdin, exiting");
|
||||||
|
std::cout << std::endl;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!get_line_ret)
|
if (!get_line_ret)
|
||||||
|
Loading…
Reference in New Issue
Block a user