mirror of
https://github.com/simh/simh.git
synced 2026-01-13 23:35:57 +00:00
SCP: Avoid duplicate output when run_cmd completes just as is done in sim_printf()
This commit is contained in:
parent
4f41c53674
commit
e35081db1f
4
scp.c
4
scp.c
@ -5950,9 +5950,9 @@ printf ("\n");
|
||||
if (unechoed_cmdline)
|
||||
sim_printf("%s> %s\n", do_position(), unechoed_cmdline);
|
||||
fprint_stopped (stdout, r); /* print msg */
|
||||
if (sim_log) /* log if enabled */
|
||||
if (sim_log && (sim_log != stdout))) /* log if enabled */
|
||||
fprint_stopped (sim_log, r);
|
||||
if (sim_deb) /* log if enabled */
|
||||
if (sim_deb && (sim_deb != stdout)) /* log if enabled */
|
||||
fprint_stopped (sim_deb, r);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user