Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix picker hang when piping output #969

Merged
merged 1 commit into from
Feb 22, 2025
Merged

Conversation

alexfikl
Copy link
Collaborator

This bug was introduced in a35643b: basically the redirect_stdout context manager should have also wrapped the tui.Picker(...) constructor to work.

This refactors the code a bit and adds a few comments to document the purpose of the redirect.

Fixes #968.

@alexfikl alexfikl merged commit c488cb4 into papis:main Feb 22, 2025
23 checks passed
@alexfikl alexfikl deleted the fix-picker-pipe branch February 22, 2025 13:48
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.

papis commands only send output to current shell stdout
1 participant