mirror of https://github.com/jroimartin/gocui.git
Update README with information about concurrency
This commit is contained in:
parent
ea4d0466c4
commit
f42f45fad3
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue