mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07: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