Update documentation and README

This commit is contained in:
Roi Martin 2016-04-28 01:22:15 +02:00
parent 1b35b7cd26
commit 3758266eac
2 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,7 @@ Minimalist Go package aimed at creating Console User Interfaces.
* The GUI can be modified at runtime (concurrent-safe).
* Global and view-level keybindings.
* Mouse support.
* Colored text.
* Customizable edition mode.
## Installation

6
doc.go
View File

@ -105,6 +105,12 @@ DefaultEditor can be taken as example to create your own custom Editor:
}
}
Colored text:
Views allow to add colored text using ANSI colors. For example:
fmt.Fprintln(v, "\x1b[0;31mHello world")
For more information, see the examples in folder "_examples/".
*/
package gocui