- Timestamp:
- 04/10/17 00:27:31 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/PushGP.Cli/Program.cs
r14777 r14834 21 21 }); 22 22 23 interpreter.RunAsync(code, true).Wait(); 23 Console.WriteLine(@"Press ESC to cancel, SPACE to resume, Any other key to step..."); 24 interpreter.Run(code, true); 24 25 25 26 while (!interpreter.IsCompleted) { … … 31 32 if (input.Key == ConsoleKey.Escape) { 32 33 break; 33 } else if (input.Key == ConsoleKey.Spacebar) { 34 } 35 36 if (input.Key == ConsoleKey.Spacebar) { 34 37 await interpreter.ResumeAsync(); 35 38 }
Note: See TracChangeset
for help on using the changeset viewer.