Browse Source

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
pull/4/head
Jack Grigg 6 years ago
parent
commit
2456eb80ae
No known key found for this signature in database GPG Key ID: 1B8D649257DB0829
  1. 8
      src/metrics.cpp

8
src/metrics.cpp

@ -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;

Loading…
Cancel
Save