sparcians / map

Modeling Architectural Platform
Apache License 2.0
165 stars 59 forks source link

How to pause and continue to run in sparta? #516

Closed Cranexiao95 closed 2 months ago

Cranexiao95 commented 2 months ago

Hi, I use CommandLineSimulator to create a simulator. Then I want to implemnet pause function in the simulator. For Example, if I press 'p' in the keyboard, the simulator will pause and enter a sleep state. Then I press 'c' in the keyboard, it can continue to run. Can the CommandLineSimulator acheive this function?