diff --git a/internal/action/bufpane.go b/internal/action/bufpane.go index 14e04089..40f4379c 100644 --- a/internal/action/bufpane.go +++ b/internal/action/bufpane.go @@ -150,10 +150,10 @@ func BufMapEvent(k Event, action string) { actionfns = append(actionfns, afn) } bufAction := func(h *BufPane, te *tcell.EventMouse) bool { - cursors := h.Buf.GetCursors() success := true for i, a := range actionfns { innerSuccess := true + cursors := h.Buf.GetCursors() for j, c := range cursors { if c == nil { continue @@ -589,6 +589,9 @@ func (h *BufPane) execAction(action BufAction, name string, cursor int, te *tcel return success } + } else { + // do nothing but return true, to not break the chain + return true } return false