add option for color inversion

This commit is contained in:
Bradley Cicenas
2017-03-15 10:02:46 +10:00
parent 50b4181866
commit e82d77ecb0
4 changed files with 23 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import (
ui "github.com/gizak/termui"
)
var header = NewCompactHeader()
var header *CompactHeader
type CompactGrid struct {
ui.GridBufferer
@@ -16,6 +16,7 @@ type CompactGrid struct {
}
func NewCompactGrid() *CompactGrid {
header = NewCompactHeader() // init column header
return &CompactGrid{}
}