bugfix: added missing changes i.e. some constans needed in Tabpane
This commit is contained in:
parent
5a0bce64fa
commit
52789d8258
@ -12,3 +12,9 @@ const HORIZONTAL_LINE = '─'
|
||||
const TOP_LEFT = '┌'
|
||||
const BOTTOM_RIGHT = '┘'
|
||||
const BOTTOM_LEFT = '└'
|
||||
const VERTICAL_LEFT = '┤'
|
||||
const VERTICAL_RIGHT = '├'
|
||||
const HORIZONTAL_DOWN = '┬'
|
||||
const HORIZONTAL_UP = '┴'
|
||||
const QUOTA_LEFT = '«'
|
||||
const QUOTA_RIGHT = '»'
|
||||
|
@ -1,9 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/gizak/termui"
|
||||
//"fmt"
|
||||
//"os"
|
||||
"github.com/marigs/termui"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
2
theme.go
2
theme.go
@ -29,6 +29,7 @@ type ColorScheme struct {
|
||||
MBarChartBar Attribute
|
||||
MBarChartText Attribute
|
||||
MBarChartNum Attribute
|
||||
TabActiveBg Attribute
|
||||
}
|
||||
|
||||
// default color scheme depends on the user's terminal setting.
|
||||
@ -58,6 +59,7 @@ var themeHelloWorld = ColorScheme{
|
||||
MBarChartBar: ColorRed,
|
||||
MBarChartNum: ColorWhite,
|
||||
MBarChartText: ColorCyan,
|
||||
TabActiveBg: ColorMagenta,
|
||||
}
|
||||
|
||||
var theme = themeDefault // global dep
|
||||
|
Loading…
Reference in New Issue
Block a user