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:
moneromooo-monero 2019-03-13 16:51:09 +00:00
parent 1d1a02e9f9
commit 6ef816de2b
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 0 deletions

View File

@ -357,6 +357,7 @@ eof:
if (m_stdin_reader.eos())
{
MGINFO("EOF on stdin, exiting");
std::cout << std::endl;
break;
}
if (!get_line_ret)