Several Fixes

This commit is contained in:
2025-08-27 07:42:24 -05:00
parent e4405a8d6b
commit 4361d7b5cf
6 changed files with 45 additions and 24 deletions

View File

@@ -205,6 +205,7 @@ func (w *List) MoveDown(ev *tcell.EventKey) bool {
}
func (w *List) SetTitle(ttl string) { w.title = ttl }
func (w *List) SetList(l []string) { w.list = l }
func (w *List) Clear() { w.list = []string{} }
func (w *List) Add(l string) { w.list = append(w.list, l) }
func (w *List) Remove(l string) {
var idx int