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
release-v0.6.1.2
moneromooo-monero 5 years ago
parent 1d1a02e9f9
commit 6ef816de2b
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

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

Loading…
Cancel
Save