Preview filter while browsing an open dropdown; Esc closes only the list
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -343,8 +343,7 @@ func (v *searchView) add(i int) {
|
||||
v.doAdd(r, choice)
|
||||
})
|
||||
form.AddButton("Cancel", v.app.closeModal)
|
||||
form.SetCancelFunc(v.app.closeModal)
|
||||
arrowNavigation(form)
|
||||
arrowNavigation(form, v.app.closeModal, nil)
|
||||
form.SetBorder(true).SetTitle(" Add " + tview.Escape(r.title()) + " ")
|
||||
|
||||
v.app.openModal(form, 60, height)
|
||||
|
||||
Reference in New Issue
Block a user