added more callbacks

This commit is contained in:
Elias Bachaalany
2025-02-10 11:25:04 -08:00
parent 760bb9318f
commit 1d7f841ee4
10 changed files with 35 additions and 16 deletions

View File

@@ -2878,7 +2878,7 @@ namespace
io_status_block.write(block);
}
c.win_emu.callbacks.stdout_callback(temp_buffer);
c.win_emu.callbacks().stdout_callback(temp_buffer);
if (!temp_buffer.ends_with("\n"))
{
@@ -3613,6 +3613,7 @@ namespace
}
thread->exit_status = exit_status;
c.win_emu.callbacks().thread_terminated(thread_handle, *thread);
if (thread == c.proc.active_thread)
{
c.win_emu.yield_thread();