Skip to content
Permalink
Browse files

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
  • Loading branch information...
moneromooo-monero committed Mar 13, 2019
1 parent 1d1a02e commit 6ef816de2b471a0e46f3818da20101c853c564c2
Showing with 1 addition and 0 deletions.
  1. +1 −0 contrib/epee/include/console_handler.h
@@ -357,6 +357,7 @@ namespace epee
if (m_stdin_reader.eos())
{
MGINFO("EOF on stdin, exiting");
std::cout << std::endl;
break;
}
if (!get_line_ret)

0 comments on commit 6ef816d

Please sign in to comment.
You can’t perform that action at this time.