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())
|
||||
{
|
||||
MGINFO("EOF on stdin, exiting");
|
||||
std::cout << std::endl;
|
||||
break;
|
||||
}
|
||||
if (!get_line_ret)
|
||||
|
|
Loading…
Reference in New Issue