Pause/resume/hashrate problem
Hi,
when a external command was submitted to your application, I receive an unlimted loop.

with sendmessage or postmessage only work correcly RESUME function ("r" char).

PAUSE and HASHRATE generate an unlimits row like:
[2018-01-09 03:02:09] paused, press r to resume
[2018-01-09 03:02:09] paused, press r to resume
[2018-01-09 03:02:09] paused, press r to resume
[2018-01-09 03:02:09] paused, press r to resume
[2018-01-09 03:02:09] paused, press r to resume
[2018-01-09 03:02:09] paused, press r to resume
[2018-01-09 03:02:10] paused, press r to resume
[2018-01-09 03:02:10] paused, press r to resume
[2018-01-09 03:02:10] paused, press r to resume
[2018-01-09 03:02:10] paused, press r to resume

I've try with normal cmd.exe and sendmessage/postmessage send correctly only one char, your application goes in a infinite loop and crash after some minutes.

Can you fix? repeat, ONLY Resume work correctly if sendmessage/postmessage send an "r" char.


SOLUTION FOR CPU MINER IS:
    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':

in src/App.cpp   I think is the same.

Can you rebuild with this fix in new 2.4.3 version? Last update was in 23 Oct 2017 .

PS I reply this issues in AMD too.
Thanks.