From 6c0dedf8fb5391da3b9ca7940d44eed07d8b5b04 Mon Sep 17 00:00:00 2001 From: nyx Date: Thu, 10 Oct 2024 06:03:06 -0400 Subject: [PATCH] run fmt --- tui/src/state.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tui/src/state.rs b/tui/src/state.rs index 90ed3f56..49401edd 100644 --- a/tui/src/state.rs +++ b/tui/src/state.rs @@ -657,7 +657,9 @@ impl AppState { if let Some(list_node) = self.get_selected_node() { let mut preview_title = "[Preview] - ".to_string(); preview_title.push_str(list_node.name.as_str()); - if let Some(preview) = FloatingText::from_command(&list_node.command, FloatingTextMode::Preview) { + if let Some(preview) = + FloatingText::from_command(&list_node.command, FloatingTextMode::Preview) + { self.spawn_float(preview, 80, 80); } }