79092647

Date: 2024-10-16 06:05:59
Score: 1
Natty:
Report link

Solution here. From main thread ask replxx's thread to exit using

consoleWorker->rx.emulate_key_press(Replxx::KEY::control( 'C' ));

Where consoleWorker is object from replxx's thread and rx is Replxx object themself. There is full-code replxx multithreading example.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Андрей Тернити