Versions in this module Expand all Collapse all v1 v1.0.0 Apr 28, 2025 Changes in this version + func AnyInBounds(model tea.Model, mouse tea.MouseMsg) + func AnyInBoundsAndUpdate(model tea.Model, mouse tea.MouseMsg) (tea.Model, tea.Cmd) + func Clear(id string) + func Close() + func Enabled() bool + func Mark(id, v string) string + func NewGlobal() + func NewPrefix() string + func Scan(v string) string + func SetEnabled(v bool) + type Manager struct + var DefaultManager *Manager + func New() (m *Manager) + func (m *Manager) AnyInBounds(model tea.Model, mouse tea.MouseMsg) + func (m *Manager) AnyInBoundsAndUpdate(model tea.Model, mouse tea.MouseMsg) (tea.Model, tea.Cmd) + func (m *Manager) Clear(id string) + func (m *Manager) Close() + func (m *Manager) Enabled() bool + func (m *Manager) Get(id string) (zone *ZoneInfo) + func (m *Manager) Mark(id, v string) string + func (m *Manager) NewPrefix() string + func (m *Manager) Scan(v string) string + func (m *Manager) SetEnabled(enabled bool) + type MsgZoneInBounds struct + Event tea.MouseMsg + Zone *ZoneInfo + type ZoneInfo struct + EndX int + EndY int + StartX int + StartY int + func Get(id string) (a *ZoneInfo) + func (z *ZoneInfo) InBounds(e tea.MouseMsg) bool + func (z *ZoneInfo) IsZero() bool + func (z *ZoneInfo) Pos(msg tea.MouseMsg) (x, y int) Other modules containing this package github.com/lrstanley/bubblezone/v2