diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-11-22 14:26:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 14:26:45 -0500 |
commit | ed83ef2517ba4d6a0c7659206fe3a2faa0bdf547 (patch) | |
tree | 0f57d4f5e44575825a019e338dbc07e6b5a2bca6 /vendor/github.com/manifoldco/promptui/select.go | |
parent | 179405ee3b0fd2c0a0debb2cd5fd47bab8130f82 (diff) | |
parent | 73e95d1c3eea36ec5e294115a7aa4c9fd16445fd (diff) | |
download | podman-ed83ef2517ba4d6a0c7659206fe3a2faa0bdf547.tar.gz podman-ed83ef2517ba4d6a0c7659206fe3a2faa0bdf547.tar.bz2 podman-ed83ef2517ba4d6a0c7659206fe3a2faa0bdf547.zip |
Merge pull request #12384 from containers/dependabot/go_modules/github.com/containers/image/v5-5.17.0
Bump github.com/containers/image/v5 from 5.16.1 to 5.17.0
Diffstat (limited to 'vendor/github.com/manifoldco/promptui/select.go')
-rw-r--r-- | vendor/github.com/manifoldco/promptui/select.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vendor/github.com/manifoldco/promptui/select.go b/vendor/github.com/manifoldco/promptui/select.go index 19b9e0c2e..b58ed9734 100644 --- a/vendor/github.com/manifoldco/promptui/select.go +++ b/vendor/github.com/manifoldco/promptui/select.go @@ -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" ) @@ -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 { |