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 TOP_LEFT = '┌'
|
||||||
const BOTTOM_RIGHT = '┘'
|
const BOTTOM_RIGHT = '┘'
|
||||||
const BOTTOM_LEFT = '└'
|
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
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/gizak/termui"
|
"github.com/marigs/termui"
|
||||||
//"fmt"
|
|
||||||
//"os"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
2
theme.go
2
theme.go
@ -29,6 +29,7 @@ type ColorScheme struct {
|
|||||||
MBarChartBar Attribute
|
MBarChartBar Attribute
|
||||||
MBarChartText Attribute
|
MBarChartText Attribute
|
||||||
MBarChartNum Attribute
|
MBarChartNum Attribute
|
||||||
|
TabActiveBg Attribute
|
||||||
}
|
}
|
||||||
|
|
||||||
// default color scheme depends on the user's terminal setting.
|
// default color scheme depends on the user's terminal setting.
|
||||||
@ -58,6 +59,7 @@ var themeHelloWorld = ColorScheme{
|
|||||||
MBarChartBar: ColorRed,
|
MBarChartBar: ColorRed,
|
||||||
MBarChartNum: ColorWhite,
|
MBarChartNum: ColorWhite,
|
||||||
MBarChartText: ColorCyan,
|
MBarChartText: ColorCyan,
|
||||||
|
TabActiveBg: ColorMagenta,
|
||||||
}
|
}
|
||||||
|
|
||||||
var theme = themeDefault // global dep
|
var theme = themeDefault // global dep
|
||||||
|
Loading…
Reference in New Issue
Block a user