mirror of
https://github.com/lotabout/skim.git
synced 2026-09-10 07:16:23 -04:00
fix: use item text in printf
This commit is contained in:
parent
223414091a
commit
da74c01404
|
|
@ -104,7 +104,7 @@ pub fn printf(
|
|||
command_query: &str,
|
||||
) -> String {
|
||||
let (item_text, field_text) = match current {
|
||||
Some(ref s) => (s.output().into_owned(), s.output().into_owned()),
|
||||
Some(ref s) => (s.text().into_owned(), s.text().into_owned()),
|
||||
None => (String::default(), String::default()),
|
||||
};
|
||||
// Replace static fields first
|
||||
|
|
|
|||
Loading…
Reference in a new issue