We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f287771 commit d9a9d0fCopy full SHA for d9a9d0f
tui/src/state.rs
@@ -650,8 +650,8 @@ impl AppState {
650
651
fn enable_preview(&mut self) {
652
if let Some(list_node) = self.get_selected_node() {
653
- let mut preview_title = "Command Preview - ".to_string(
654
- preview_title.push_str(list_node.name.as_str());
+ let mut preview_title = "Command Preview - ".to_string();
+ preview_title.push_str(list_node.name.as_str());
655
if let Some(preview) = FloatingText::from_command(&list_node.command, preview_title) {
656
self.spawn_float(preview, 80, 80);
657
}
0 commit comments