SCP: Fix simh console session output of remote console commands to avoid stairstepping as described in issue #165
This commit is contained in:
parent
1f20041b58
commit
c2603539ff
1 changed files with 4 additions and 2 deletions
|
@ -898,6 +898,7 @@ for (i=(was_stepping ? sim_rem_step_line : 0);
|
||||||
cmdp = NULL;
|
cmdp = NULL;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
sim_ttcmd (); /* restore console */
|
||||||
if (cmdp->action == &x_run_cmd) {
|
if (cmdp->action == &x_run_cmd) {
|
||||||
sim_switches |= SIM_SW_HIDE; /* Request Setup only */
|
sim_switches |= SIM_SW_HIDE; /* Request Setup only */
|
||||||
stat = basecmdp->action (cmdp->arg, cptr);
|
stat = basecmdp->action (cmdp->arg, cptr);
|
||||||
|
@ -909,6 +910,7 @@ for (i=(was_stepping ? sim_rem_step_line : 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
stat = cmdp->action (cmdp->arg, cptr);
|
stat = cmdp->action (cmdp->arg, cptr);
|
||||||
|
sim_ttrun (); /* set console mode */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue