Migrate components over to github.com/charmbracelet/bubbles

This commit is contained in:
Christian Rocha
2020-05-25 20:10:15 -04:00
parent 3b8b011b5a
commit 40332a36b3
11 changed files with 9 additions and 908 deletions

View File

@@ -5,7 +5,8 @@ go 1.13
replace github.com/charmbracelet/bubbletea => ../
require (
github.com/charmbracelet/bubbletea v0.0.0-00010101000000-000000000000
github.com/charmbracelet/bubbles v0.0.0-20200526000837-87c7cd778f80
github.com/charmbracelet/bubbletea v0.6.4-0.20200525234836-3b8b011b5a26
github.com/fogleman/ease v0.0.0-20170301025033-8da417bf1776
github.com/muesli/termenv v0.5.2
)

View File

@@ -1,3 +1,5 @@
github.com/charmbracelet/bubbles v0.0.0-20200526000837-87c7cd778f80 h1:cfaoL1+tHPABTLEAg831PIFG96teW69Wamz9M025r5M=
github.com/charmbracelet/bubbles v0.0.0-20200526000837-87c7cd778f80/go.mod h1:/AeLRFlL2Uf4X7U5LjnswTII6u4maPzMm1+vZfeUJKc=
github.com/fogleman/ease v0.0.0-20170301025033-8da417bf1776 h1:VRIbnDWRmAh5yBdz+J6yFMF5vso1It6vn+WmM/5l7MA=
github.com/fogleman/ease v0.0.0-20170301025033-8da417bf1776/go.mod h1:9wvnDu3YOfxzWM9Cst40msBF1C2UdQgDv962oTxSuMs=
github.com/google/goterm v0.0.0-20190703233501-fc88cf888a3f h1:5CjVwnuUcp5adK4gmY6i72gpVFVnZDP2h5TmPScB6u4=

View File

@@ -5,8 +5,8 @@ import (
"io/ioutil"
"os"
"github.com/charmbracelet/bubbles/viewport"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/bubbletea/viewport"
)
func main() {

View File

@@ -7,7 +7,7 @@ import (
"log"
"time"
tea "github.com/charmbracelet/bubbletea"
tea "github.com/charmbracelet/bubbles"
)
// A model can be more or less any type of data. It holds all the data for a

View File

@@ -4,8 +4,8 @@ import (
"fmt"
"os"
"github.com/charmbracelet/bubbles/spinner"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/bubbletea/spinner"
"github.com/muesli/termenv"
)

View File

@@ -5,8 +5,8 @@ import (
"fmt"
"log"
input "github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"
input "github.com/charmbracelet/bubbletea/textinput"
)
type Model struct {

View File

@@ -4,8 +4,8 @@ import (
"fmt"
"os"
input "github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"
input "github.com/charmbracelet/bubbletea/textinput"
te "github.com/muesli/termenv"
)