Open denisu opened 5 years ago
@denisu This is a known issue. sk
won't stop on listening to an infinite stream.
Unfortunately currently rust doesn't have a good way to interrupt a blocking read.
Is there any specific reason that the above example(tail -f xxx | sk
) is useful for you?
I see. I use it to lookup and filter specific entries/keywords in a log file, which is still being written to, in real time. Works quite magically together with --tiebreak=-index
.
Tested in 0.6.8
Steps to reproduce:
tail -f testfile | sk
Skim hangs after selecting an item until a new line is written to
testfile
. It works fine in fzf.