1
0
mirror of https://github.com/simh/simh.git synced 2026-02-02 14:52:18 +00:00

Added a mechanism for commands to optionally handle their message printing via a separate dispatch in the command table. This is currently used by run_cmd to handle unsuppressed status returns.

This commit is contained in:
Mark Pizzolato
2012-04-25 05:24:53 -07:00
parent 72be72c472
commit 31df5e8db2
2 changed files with 41 additions and 19 deletions

View File

@@ -432,6 +432,8 @@ struct sim_ctab {
/* action routine */
int32 arg; /* argument */
char *help; /* help string */
void (*message)(const char *unechoed_cmdline, t_stat stat);
/* message printing routine */
};
struct sim_c1tab {