Update readme

This commit is contained in:
Caleb Bassi 2019-02-23 16:52:52 -08:00
parent 67284dd15c
commit f8e30bacd3

View File

@ -8,19 +8,14 @@ termui is a cross-platform and fully-customizable terminal dashboard and widget
- Built in widget implementations for common use cases - Built in widget implementations for common use cases
- Utilities to create custom widgets - Utilities to create custom widgets
- A grid layout for relative widget positioning - Relative widget positioning using a grid layout
- Mouse support - Event system for keyboard, mouse and terminal resizing events
- Event handling for keyboard, mouse and resizing events
- Colors and styling - Colors and styling
## Installation ## Installation
Installing from the master branch is recommended since termui has been completely reworked since the latest release and because the latest release doesn't support Go modules.
Do note that termui is still undergoing breaking changes so make sure to check the changelog when upgrading.
```bash ```bash
go get -u github.com/gizak/termui@master go get -u github.com/gizak/termui
``` ```
## Hello World ## Hello World
@ -70,7 +65,7 @@ func main() {
- [Table](./_examples/table.go) - [Table](./_examples/table.go)
- [Tabs](./_examples/tabs.go) - [Tabs](./_examples/tabs.go)
Run an example with `go run _examples/{example}.go` or run all of them consecutively with `make run-examples`. Run an example with `go run _examples/{example}.go` or run each example consecutively with `make run-examples`.
## Documentation ## Documentation