mirror of https://github.com/jroimartin/gocui.git
Update documentation and README
This commit is contained in:
parent
1b35b7cd26
commit
3758266eac
|
@ -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
6
doc.go
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue