From 8a1cec331aff82cb7c9463be77240c1775eeb8df Mon Sep 17 00:00:00 2001 From: VERSE Date: Fri, 31 Jul 2026 19:03:38 +0700 Subject: [PATCH] fix(overlay): dynamic select key ui component (#90) closes #85 --- integration/overlay.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/overlay.go b/integration/overlay.go index 5be37b0..684642e 100644 --- a/integration/overlay.go +++ b/integration/overlay.go @@ -785,11 +785,11 @@ func (o *Overlay) draw() string { footerInfo := "" if !isClassic { keyStyle := lipgloss.NewStyle().Foreground(lipgloss.Color("#a277ff")).Bold(true) - tabKey := keyStyle.Render("") + selectKey := keyStyle.Render(config.FormatKeyName(config.Get().Keybindings.SelectSuggestion)) ctrlRKey := keyStyle.Render(config.FormatKeyName(config.Get().Keybindings.ToggleMode)) acceptText := lipgloss.NewStyle().Foreground(t.ScrollInfo).Render(" Accept") modeText := lipgloss.NewStyle().Foreground(t.ScrollInfo).Render(" Mode") - footerInfo = fmt.Sprintf(" %s%s • %s%s ", tabKey, acceptText, ctrlRKey, modeText) + footerInfo = fmt.Sprintf(" %s%s • %s%s ", selectKey, acceptText, ctrlRKey, modeText) } footerRunes := lipgloss.Width(footerInfo)