mirror of https://github.com/jroimartin/gocui.git
Update Gui.Flush()'s comment.
This commit is contained in:
parent
c9c982ea9d
commit
d786a4aec1
3
gui.go
3
gui.go
|
@ -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 {
|
||||
g.mu.Lock()
|
||||
defer g.mu.Unlock()
|
||||
|
|
Loading…
Reference in New Issue