v3.0.0 🎉
Fix install command
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
rw "github.com/mattn/go-runewidth"
|
||||
|
||||
. "github.com/gizak/termui"
|
||||
. "github.com/gizak/termui/v3"
|
||||
)
|
||||
|
||||
type BarChart struct {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"fmt"
|
||||
"image"
|
||||
|
||||
. "github.com/gizak/termui"
|
||||
. "github.com/gizak/termui/v3"
|
||||
)
|
||||
|
||||
type Gauge struct {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"image"
|
||||
"image/color"
|
||||
|
||||
. "github.com/gizak/termui"
|
||||
. "github.com/gizak/termui/v3"
|
||||
)
|
||||
|
||||
type Image struct {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
rw "github.com/mattn/go-runewidth"
|
||||
|
||||
. "github.com/gizak/termui"
|
||||
. "github.com/gizak/termui/v3"
|
||||
)
|
||||
|
||||
type List struct {
|
||||
|
||||
@@ -7,7 +7,7 @@ package widgets
|
||||
import (
|
||||
"image"
|
||||
|
||||
. "github.com/gizak/termui"
|
||||
. "github.com/gizak/termui/v3"
|
||||
)
|
||||
|
||||
type Paragraph struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"image"
|
||||
"math"
|
||||
|
||||
. "github.com/gizak/termui"
|
||||
. "github.com/gizak/termui/v3"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"fmt"
|
||||
"image"
|
||||
|
||||
. "github.com/gizak/termui"
|
||||
. "github.com/gizak/termui/v3"
|
||||
)
|
||||
|
||||
// Plot has two modes: line(default) and scatter.
|
||||
|
||||
@@ -7,7 +7,7 @@ package widgets
|
||||
import (
|
||||
"image"
|
||||
|
||||
. "github.com/gizak/termui"
|
||||
. "github.com/gizak/termui/v3"
|
||||
)
|
||||
|
||||
// Sparkline is like: ▅▆▂▂▅▇▂▂▃▆▆▆▅▃. The data points should be non-negative integers.
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
rw "github.com/mattn/go-runewidth"
|
||||
|
||||
. "github.com/gizak/termui"
|
||||
. "github.com/gizak/termui/v3"
|
||||
)
|
||||
|
||||
type StackedBarChart struct {
|
||||
|
||||
@@ -7,7 +7,7 @@ package widgets
|
||||
import (
|
||||
"image"
|
||||
|
||||
. "github.com/gizak/termui"
|
||||
. "github.com/gizak/termui/v3"
|
||||
)
|
||||
|
||||
/*Table is like:
|
||||
|
||||
@@ -7,7 +7,7 @@ package widgets
|
||||
import (
|
||||
"image"
|
||||
|
||||
. "github.com/gizak/termui"
|
||||
. "github.com/gizak/termui/v3"
|
||||
)
|
||||
|
||||
// TabPane is a renderable widget which can be used to conditionally render certain tabs/views.
|
||||
|
||||
Reference in New Issue
Block a user