-
Notifications
You must be signed in to change notification settings - Fork 326
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
Previewer script stealing focus resulting in lf hanging #1696
Comments
The best solution would be if lf could redirect these requests to their own interface, or open a TUI window for this separately (like yazi) where they would request the data. This would solve several problems (such as sudo). |
@avidseeker please assign the task to me! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In a previewer script, use the following previewer for zipped files:
Then try previewing an encrypted zip or 7z file. Since
atool -l
prompts for a password, it will wait for that password to be input and the result islf
hanging. The way scripts like ranger scope.sh avoid this is by providing an empty password like this:Despite this, I don't think it is the right behavior for a previewer to read input, and lf shouldn't hang when a previewer requests user interaction.
The text was updated successfully, but these errors were encountered: