mirror of
https://github.com/mum4k/termdash.git
synced 2025-04-25 13:48:50 +08:00
Documenting non-public method of container.
This commit is contained in:
parent
f0438f5f78
commit
be90fe60ea
@ -255,6 +255,8 @@ func (c *Container) mouseToWidget(m *terminalapi.Mouse, scope widgetapi.MouseSco
|
||||
|
||||
// Subscribe tells the container to subscribe itself and widgets to the
|
||||
// provided event distribution system.
|
||||
// This method is private to termdash, stability isn't guaranteed and changes
|
||||
// won't be backward compatible.
|
||||
func (c *Container) Subscribe(eds *event.DistributionSystem) {
|
||||
c.mu.Lock()
|
||||
defer c.mu.Unlock()
|
||||
|
Loading…
x
Reference in New Issue
Block a user