fix: use item text in printf

This commit is contained in:
Loric ANDRE 2026-01-19 21:58:11 +01:00
parent 223414091a
commit da74c01404

View file

@ -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