Update README with information about concurrency

This commit is contained in:
Roi Martin 2016-01-26 10:19:11 +01:00
parent ea4d0466c4
commit f42f45fad3
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# GOCUI - Go Console User Interface # GOCUI - Go Console User Interface [![GoDoc](https://godoc.org/github.com/jroimartin/gocui?status.svg)](https://godoc.org/github.com/jroimartin/gocui)
Minimalist Go package aimed at creating Console User Interfaces. Minimalist Go package aimed at creating Console User Interfaces.
@ -45,6 +45,13 @@ func main() {
} }
``` ```
## Concurrency
Gocui implements mechanisms to be concurrent safe. Specifically, Gui and View
objects must be updated from a layout function or via *Gui.Execute.
For more information, see _examples/goroutine.go
## Screenshots ## Screenshots
_examples/demo.go: _examples/demo.go: