Skip to content

Fix reading redirected input from stdin#810

Open
lhecker wants to merge 1 commit intomainfrom
dev/lhecker/stdin
Open

Fix reading redirected input from stdin#810
lhecker wants to merge 1 commit intomainfrom
dev/lhecker/stdin

Conversation

@lhecker
Copy link
Copy Markdown
Member

@lhecker lhecker commented Apr 22, 2026

This broke in #556, which moved the stdin reopen from init() into
switch_modes(). But open_stdin_if_redirected() was called inside
handle_args(), which runs before switch_modes().
So, after #556, it would never see the reopened stdin.

@lhecker lhecker added I-bug It shouldn't be doing this. P-high High priority, fix ASAP. Example: The application crashes. labels Apr 22, 2026
@lhecker lhecker enabled auto-merge (squash) April 22, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

I-bug It shouldn't be doing this. P-high High priority, fix ASAP. Example: The application crashes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant