Changed 'Tabbable/Focusable' logic to use Active
This commit is contained in:
@@ -259,9 +259,10 @@ func (w *Searcher) buildBuffer() {
|
||||
|
||||
func (w *Searcher) SetStyle(s tcell.Style) { w.style = s }
|
||||
func (w *Searcher) Active() bool { return w.active }
|
||||
func (w *Searcher) SetActive(a bool) {
|
||||
func (w *Searcher) SetActive(a bool) bool {
|
||||
w.active = a
|
||||
w.search.SetActive(a)
|
||||
return w.active
|
||||
}
|
||||
func (w *Searcher) Visible() bool { return w.visible }
|
||||
func (w *Searcher) SetVisible(a bool) { w.visible = a }
|
||||
|
||||
Reference in New Issue
Block a user