Skip to content

fix: preserve Enter in PTY subprocesses - #142

Merged
D3f0 merged 1 commit into
mainfrom
issue-141-pty-stdin-interactive
Sep 28, 2026
Merged

D3f0 merged 1 commit into
mainfrom
issue-141-pty-stdin-interactive

Conversation

@D3f0

@D3f0 D3f0 commented Sep 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • preserve carriage-return bytes while forwarding foreground PTY stdin
  • restore terminal attributes and serialize concurrent PTY terminal ownership
  • add a nested-PTY regression test covering Enter and terminal restoration
  • replace a Rich-wrapping-sensitive package safety assertion with an observable filesystem assertion

Closes #141

Verification

  • uv run pytest -q --disable-warnings (762 passed, 18 skipped)
  • uv run pytest tests/original_invoke -q (101 passed, 14 skipped)
  • ruff and ty checks passed

@D3f0
D3f0 merged commit e25c1ad into main Sep 28, 2026
4 checks passed
@D3f0
D3f0 deleted the issue-141-pty-stdin-interactive branch September 28, 2026 05:46
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.

PTY stdin forwarding can swallow Enter in interactive subprocesses

1 participant