From d786a4aec16007bb2867f45c07270ddd77623cfc Mon Sep 17 00:00:00 2001 From: Roi Martin Date: Mon, 2 Feb 2015 00:46:04 +0100 Subject: [PATCH] Update Gui.Flush()'s comment. --- gui.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui.go b/gui.go index ce6c746..78077d1 100644 --- a/gui.go +++ b/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()