Merge remote-tracking branch 'refs/remotes/xmrig/master'
Conflicts: CHANGELOG.md README.md src/version.h
This commit is contained in:
commit
5f8ea98764
2 changed files with 13 additions and 2 deletions
|
@ -190,8 +190,10 @@ void App::onConsoleCommand(char command)
|
|||
|
||||
case 'p':
|
||||
case 'P':
|
||||
LOG_INFO(m_options->colors() ? "\x1B[01;33mpaused\x1B[0m, press \x1B[01;35mr\x1B[0m to resume" : "paused, press 'r' to resume");
|
||||
Workers::setEnabled(false);
|
||||
if (Workers::isEnabled()) {
|
||||
LOG_INFO(m_options->colors() ? "\x1B[01;33mpaused\x1B[0m, press \x1B[01;35mr\x1B[0m to resume" : "paused, press 'r' to resume");
|
||||
Workers::setEnabled(false);
|
||||
}
|
||||
break;
|
||||
|
||||
case 'r':
|
||||
|
|
|
@ -36,6 +36,11 @@
|
|||
#endif
|
||||
|
||||
|
||||
#ifndef XMRIG_NO_HTTPD
|
||||
# include <microhttpd.h>
|
||||
#endif
|
||||
|
||||
|
||||
#include "Cpu.h"
|
||||
#include "donate.h"
|
||||
#include "net/Url.h"
|
||||
|
@ -832,6 +837,10 @@ void Options::showVersion()
|
|||
"\n");
|
||||
|
||||
printf("\nlibuv/%s\n", uv_version_string());
|
||||
|
||||
# ifndef XMRIG_NO_HTTPD
|
||||
printf("libmicrohttpd/%s\n", MHD_get_version());
|
||||
# endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue