Open avidseeker opened 4 months ago
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). I would really like to see this further developed.
@avidseeker please assign the task to me!
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.