Metrics UI: Tell Windows users how to stop zcashd

Ctrl+C is not configured for Windows, as it does not work (yet):
https://github.com/Microsoft/vscode/issues/9347
https://github.com/Microsoft/console/issues/57
This commit is contained in:
Jack Grigg 2018-04-18 03:46:43 +01:00
parent 8fa09c244a
commit 2456eb80ae
No known key found for this signature in database
GPG Key ID: 1B8D649257DB0829
1 changed files with 7 additions and 1 deletions

View File

@ -511,7 +511,13 @@ void ThreadShowMetricsScreen()
if (isScreen) {
// Explain how to exit
std::cout << "[" << _("Press Ctrl+C to exit") << "] [" << _("Set 'showmetrics=0' to hide") << "]" << std::endl;
std::cout << "[";
#ifdef WIN32
std::cout << _("'zcash-cli.exe stop' to exit");
#else
std::cout << _("Press Ctrl+C to exit");
#endif
std::cout << "] [" << _("Set 'showmetrics=0' to hide") << "]" << std::endl;
} else {
// Print delineator
std::cout << "----------------------------------------" << std::endl;