mirror of
https://github.com/open-simh/simh.git
synced 2026-05-05 23:54:03 +00:00
Added sim_ttisatty to support reasonable behaviour (i.e. avoid in infinite loop) in the main command input loop when EOF is detected and input is coming from a file (or a null device: /dev/null or NUL:) This may happen when a simulator is running in a background process.
This commit is contained in:
@@ -83,6 +83,7 @@ t_stat sim_ttinit (void);
|
||||
t_stat sim_ttrun (void);
|
||||
t_stat sim_ttcmd (void);
|
||||
t_stat sim_ttclose (void);
|
||||
t_bool sim_ttisatty(void);
|
||||
t_stat sim_os_poll_kbd (void);
|
||||
t_stat sim_os_putchar (int32 out);
|
||||
int32 sim_tt_inpcvt (int32 c, uint32 mode);
|
||||
|
||||
Reference in New Issue
Block a user