Update Gui.Flush()'s comment.

This commit is contained in:
Roi Martin 2015-02-02 00:46:04 +01:00
parent c9c982ea9d
commit d786a4aec1
1 changed files with 2 additions and 1 deletions

3
gui.go
View File

@ -256,7 +256,8 @@ func (g *Gui) handleEvent(ev *termbox.Event) error {
} }
} }
// Flush updates the gui, re-drawing frames and buffers. // Flush updates the gui, re-drawing frames and buffers. It is safe for
// concurrent use by multiple goroutines.
func (g *Gui) Flush() error { func (g *Gui) Flush() error {
g.mu.Lock() g.mu.Lock()
defer g.mu.Unlock() defer g.mu.Unlock()