mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 23:40:48 +00:00
fix(tui): support readline nav in new search component
This commit is contained in:
parent
a1c8e5af45
commit
ba676e7ae0
2 changed files with 3 additions and 8 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue