diff --git a/src/view/mod.rs b/src/view/mod.rs index 595366b..84a24b6 100644 --- a/src/view/mod.rs +++ b/src/view/mod.rs @@ -778,11 +778,15 @@ fn render_input_bar( width: area.width.min(45), height: dropdown_height, }; + let dropdown_title = match state.input.autocomplete_kind { + crate::app::state::misc::AutocompleteKind::Command => " ⌘ Commands ", + crate::app::state::misc::AutocompleteKind::FileMention => " 📁 Files ", + }; let dropdown_block = Block::default() .borders(Borders::ALL) .border_style(Style::default().fg(Theme::BORDER)) .title(Span::styled( - " ⌘ Commands ", + dropdown_title, Style::default().fg(Theme::PRIMARY), )) .style(Style::default().bg(Theme::SURFACE_ELEVATED));