Skip to content

Improve host-shell cleanup and status handling#10

Merged
midwan merged 1 commit into
masterfrom
host-shell-status-handling
May 8, 2026
Merged

Improve host-shell cleanup and status handling#10
midwan merged 1 commit into
masterfrom
host-shell-status-handling

Conversation

@midwan

@midwan midwan commented May 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • return an error when host-shell cannot open dos.library, console IO, raw input mode, or the host shell session
  • use a single cleanup path for host shell close, raw mode restoration, and library cleanup
  • propagate HostShell_Status when available so host-shell can report host command failure
  • remove the unused loop flag and preserve a pending trailing ESC byte during cleanup

Validation

  • make -B test HOST_CFLAGS="-std=c99 -Wall -Wextra -Wstrict-prototypes -Werror -Isrc"
  • git diff --check

@midwan
midwan marked this pull request as ready for review May 8, 2026 22:14
@midwan
midwan merged commit 300c614 into master May 8, 2026
2 checks passed
@midwan
midwan deleted the host-shell-status-handling branch May 8, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant