From f95667af1a6951999406dd281a76c97560af71e6 Mon Sep 17 00:00:00 2001 From: Roi Martin Date: Sun, 13 Nov 2016 21:40:01 +0100 Subject: [PATCH] Fix typo in doc --- doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc.go b/doc.go index d8391a2..9c2adec 100644 --- a/doc.go +++ b/doc.go @@ -71,7 +71,7 @@ Mouse events are handled like any other keybinding: IMPORTANT: Views can only be created, destroyed or updated in three ways: from the Layout function within managers, from keybinding callbacks or via *Gui.Execute(). The reason for this is that it allows gocui to be -concurent-safe. So, if you want to update your GUI from a goroutine, you must +concurrent-safe. So, if you want to update your GUI from a goroutine, you must use *Gui.Execute(). For example: g.Execute(func(g *gocui.Gui) error {