mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-18 22:31:35 +03:00
feat: better find
title
This commit is contained in:
parent
6497df3a6f
commit
58df82498f
@ -256,7 +256,9 @@ impl Tab {
|
||||
}
|
||||
|
||||
tokio::spawn(async move {
|
||||
let rx = emit!(Input(InputOpt::top("Find:").with_realtime()));
|
||||
let rx = emit!(Input(
|
||||
InputOpt::top(if prev { "Find previous:" } else { "Find next:" }).with_realtime()
|
||||
));
|
||||
|
||||
let rx = Debounce::new(UnboundedReceiverStream::new(rx), Duration::from_millis(50));
|
||||
pin!(rx);
|
||||
|
Loading…
Reference in New Issue
Block a user