Skip to content

Commit

Permalink
Merge pull request #181 from nguyer/master
Browse files Browse the repository at this point in the history
Remove LGPLv3 Dependency
  • Loading branch information
jbowes committed Oct 30, 2021
2 parents 981a3ca + 70ccd47 commit cbf8682
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion go.mod
Expand Up @@ -6,7 +6,6 @@ require (
github.com/chzyer/logex v1.1.10 // indirect
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 // indirect
github.com/juju/ansiterm v0.0.0-20180109212912-720a0952cc2a
github.com/kr/pretty v0.1.0 // indirect
github.com/lunixbochs/vtclean v0.0.0-20180621232353-2d01aacdc34a // indirect
github.com/mattn/go-colorable v0.0.9 // indirect
Expand Down
5 changes: 3 additions & 2 deletions select.go
Expand Up @@ -5,10 +5,10 @@ import (
"fmt"
"io"
"os"
"text/tabwriter"
"text/template"

"github.com/chzyer/readline"
"github.com/juju/ansiterm"
"github.com/manifoldco/promptui/list"
"github.com/manifoldco/promptui/screenbuf"
)
Expand Down Expand Up @@ -587,7 +587,8 @@ func (s *Select) renderDetails(item interface{}) [][]byte {
}

var buf bytes.Buffer
w := ansiterm.NewTabWriter(&buf, 0, 0, 8, ' ', 0)

w := tabwriter.NewWriter(&buf, 0, 0, 8, ' ', 0)

err := s.Templates.details.Execute(w, item)
if err != nil {
Expand Down

0 comments on commit cbf8682

Please sign in to comment.