diff --git a/internal/models/gallery/keymap.go b/internal/models/gallery/keymap.go index e5a348b..449fbcb 100644 --- a/internal/models/gallery/keymap.go +++ b/internal/models/gallery/keymap.go @@ -59,7 +59,7 @@ var DefaultKeyMap = KeyMap{ key.WithHelp("ctrl+g", "Toggle Help"), ), Quit: key.NewBinding( - key.WithKeys("ctrl+c", "ctrl+q"), - key.WithHelp("ctrl+c/ctrl+q", "Quit"), + key.WithKeys("ctrl+c"), + key.WithHelp("ctrl+c", "Quit"), ), } diff --git a/internal/models/gallery/model.go b/internal/models/gallery/model.go index 0303604..4a6fccc 100644 --- a/internal/models/gallery/model.go +++ b/internal/models/gallery/model.go @@ -67,9 +67,10 @@ func New(path string) Model { })), help: help.New(), styleDeck: styleBase.Copy(). - Border(lipgloss.ThickBorder(), true, false, false, false). - BorderTopForeground(config.Global.Appearance.Border.Foreground). Height(10). + BorderTopForeground(config.Global.Appearance.Border.Foreground). + BorderStyle(lipgloss.ThickBorder()). + BorderTop(true). Bold(true), styleStatePanel: styleBase.Copy(). Align(lipgloss.Center), @@ -82,14 +83,14 @@ func New(path string) Model { am.textInput.Focus() am.paginator = paginator.New() - am.paginator.KeyMap = am.KeyMap.Paginator am.paginator.Type = paginator.Dots - am.paginator.ActiveDot = styleBase.Copy(). - Bold(true). - Render("•") + am.paginator.KeyMap = am.KeyMap.Paginator am.paginator.InactiveDot = styleBase.Copy(). Faint(true). Render("•") + am.paginator.ActiveDot = styleBase.Copy(). + Bold(true). + Render("•") return am }