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:
parent
8fa09c244a
commit
2456eb80ae
|
@ -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…
Reference in New Issue