diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-13 16:51:09 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-13 16:52:22 +0000 |
commit | 6ef816de2b471a0e46f3818da20101c853c564c2 (patch) | |
tree | d8e111c5824dbbe05834ec4a67556744e2a46889 /contrib/epee/include/console_handler.h | |
parent | Merge pull request #5258 (diff) | |
download | monero-6ef816de2b471a0e46f3818da20101c853c564c2.tar.xz |
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
Diffstat (limited to 'contrib/epee/include/console_handler.h')
-rw-r--r-- | contrib/epee/include/console_handler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/epee/include/console_handler.h b/contrib/epee/include/console_handler.h index 6e7efd1d7..e07e16d91 100644 --- a/contrib/epee/include/console_handler.h +++ b/contrib/epee/include/console_handler.h @@ -357,6 +357,7 @@ eof: if (m_stdin_reader.eos()) { MGINFO("EOF on stdin, exiting"); + std::cout << std::endl; break; } if (!get_line_ret) |