mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
feat: better find title
This commit is contained in:
parent
6497df3a6f
commit
58df82498f
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue