comparison simtool/main.c @ 123:b391204d3cd5

fc-simtool: add scripting facility in the form of exec command
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 28 Jan 2021 18:42:24 +0000
parents b57cf64ece29
children 6c4567dd8946
comparison
equal deleted inserted replaced
122:f18704e91393 123:b391204d3cd5
20 fputs("simtool> ", stdout); 20 fputs("simtool> ", stdout);
21 fflush(stdout); 21 fflush(stdout);
22 } 22 }
23 if (!fgets(command, sizeof command, stdin)) 23 if (!fgets(command, sizeof command, stdin))
24 cmd_exit(); 24 cmd_exit();
25 simtool_dispatch_cmd(command); 25 simtool_dispatch_cmd(command, 0);
26 } 26 }
27 } 27 }