Work
This commit is contained in:
@@ -235,7 +235,7 @@ func (w *List) SetItem(idx int, txt string) {
|
||||
w.list[idx] = txt
|
||||
}
|
||||
}
|
||||
func (w *List) GetIdx() int { return w.cursor }
|
||||
func (w *List) SelectedIndex() int { return w.cursor }
|
||||
func (w *List) ClearBorder() { w.border = []rune{} }
|
||||
func (w *List) SetOnSelect(s func(int, string) bool) { w.onSelect = s }
|
||||
func (w *List) SetVimMode(b bool) { w.vimMode = b }
|
||||
|
||||
Reference in New Issue
Block a user