fix(tui): support readline nav in new search component

This commit is contained in:
adamdotdevin 2025-07-14 12:20:58 -05:00
parent a1c8e5af45
commit ba676e7ae0
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
2 changed files with 3 additions and 8 deletions

View file

@ -42,11 +42,11 @@ type searchKeyMap struct {
var searchKeys = searchKeyMap{
Up: key.NewBinding(
key.WithKeys("up"),
key.WithKeys("up", "ctrl+p"),
key.WithHelp("↑", "previous item"),
),
Down: key.NewBinding(
key.WithKeys("down"),
key.WithKeys("down", "ctrl+n"),
key.WithHelp("↓", "next item"),
),
Enter: key.NewBinding(