1
0
mirror of https://github.com/gizak/termui.git synced 2025-04-24 13:48:50 +08:00

feat: fix import

This commit is contained in:
Pierre Roullon 2024-03-04 15:04:40 +01:00
parent 0b8d905cec
commit b3ed8f6f8f
15 changed files with 17 additions and 16 deletions

View File

@ -3,7 +3,7 @@ package termui
import (
"image"
"github.com/gizak/termui/v3/drawille"
"github.com/proullon/termui/v3/drawille"
)
type Canvas struct {

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/gizak/termui/v3
module github.com/proullon/termui/v3
go 1.15

View File

@ -10,7 +10,7 @@ import (
rw "github.com/mattn/go-runewidth"
. "github.com/gizak/termui/v3"
. "github.com/proullon/termui/v3"
)
type BarChart struct {

View File

@ -4,7 +4,7 @@ import (
"context"
"fmt"
. "github.com/gizak/termui/v3"
. "github.com/proullon/termui/v3"
)
type Field struct {

View File

@ -8,7 +8,7 @@ import (
"fmt"
"image"
. "github.com/gizak/termui/v3"
. "github.com/proullon/termui/v3"
)
type Gauge struct {

View File

@ -8,7 +8,7 @@ import (
"image"
"image/color"
. "github.com/gizak/termui/v3"
. "github.com/proullon/termui/v3"
)
type Image struct {

View File

@ -9,7 +9,7 @@ import (
rw "github.com/mattn/go-runewidth"
. "github.com/gizak/termui/v3"
. "github.com/proullon/termui/v3"
)
type List struct {

View File

@ -7,7 +7,7 @@ package widgets
import (
"image"
. "github.com/gizak/termui/v3"
. "github.com/proullon/termui/v3"
)
type Paragraph struct {

View File

@ -4,7 +4,7 @@ import (
"image"
"math"
. "github.com/gizak/termui/v3"
. "github.com/proullon/termui/v3"
)
const (

View File

@ -8,7 +8,7 @@ import (
"fmt"
"image"
. "github.com/gizak/termui/v3"
. "github.com/proullon/termui/v3"
)
// Plot has two modes: line(default) and scatter.

View File

@ -7,7 +7,7 @@ package widgets
import (
"image"
. "github.com/gizak/termui/v3"
. "github.com/proullon/termui/v3"
)
// Sparkline is like: ▅▆▂▂▅▇▂▂▃▆▆▆▅▃. The data points should be non-negative integers.

View File

@ -10,7 +10,7 @@ import (
rw "github.com/mattn/go-runewidth"
. "github.com/gizak/termui/v3"
. "github.com/proullon/termui/v3"
)
type StackedBarChart struct {

View File

@ -7,10 +7,11 @@ package widgets
import (
"image"
. "github.com/gizak/termui/v3"
. "github.com/proullon/termui/v3"
)
/*Table is like:
/*
Table is like:
Awesome Table
Col0 | Col1 | Col2 | Col3 | Col4 | Col5 | Col6 |

View File

@ -7,7 +7,7 @@ package widgets
import (
"image"
. "github.com/gizak/termui/v3"
. "github.com/proullon/termui/v3"
)
// TabPane is a renderable widget which can be used to conditionally render certain tabs/views.

View File

@ -5,8 +5,8 @@ import (
"image"
"strings"
. "github.com/gizak/termui/v3"
rw "github.com/mattn/go-runewidth"
. "github.com/proullon/termui/v3"
)
const treeIndent = " "