diff --git a/internal/quickstart/choose_sdk.go b/internal/quickstart/choose_sdk.go index 19cabb46..69344f9b 100644 --- a/internal/quickstart/choose_sdk.go +++ b/internal/quickstart/choose_sdk.go @@ -37,10 +37,6 @@ func NewChooseSDKModel(selectedIndex int) tea.Model { l.SetShowStatusBar(false) l.SetFilteringEnabled(false) // TODO: try to get filtering working l.Paginator.PerPage = 5 - // disable these because we've overridden "left" to go back and leaving NextPage without - // PrevPage would be confusing - l.KeyMap.PrevPage.SetEnabled(false) - l.KeyMap.NextPage.SetEnabled(false) return chooseSDKModel{ list: l, diff --git a/internal/quickstart/container.go b/internal/quickstart/container.go index 8ef5419f..8eac37d3 100644 --- a/internal/quickstart/container.go +++ b/internal/quickstart/container.go @@ -147,8 +147,8 @@ type keyMap struct { var keys = keyMap{ Back: key.NewBinding( - key.WithKeys("left"), - key.WithHelp("back", "go back"), + key.WithKeys("esc"), + key.WithHelp("esc", "go back"), ), Enter: key.NewBinding( key.WithKeys("enter"),