Remove ansiterm to avoid LGPL dependency
Nicko Guyer
3 years ago
5 | 5 |
github.com/chzyer/logex v1.1.10 // indirect
|
6 | 6 |
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
|
7 | 7 |
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 // indirect
|
8 | |
github.com/juju/ansiterm v0.0.0-20180109212912-720a0952cc2a
|
9 | 8 |
github.com/kr/pretty v0.1.0 // indirect
|
10 | 9 |
github.com/lunixbochs/vtclean v0.0.0-20180621232353-2d01aacdc34a // indirect
|
11 | 10 |
github.com/mattn/go-colorable v0.0.9 // indirect
|
4 | 4 |
"fmt"
|
5 | 5 |
"io"
|
6 | 6 |
"os"
|
|
7 |
"text/tabwriter"
|
7 | 8 |
"text/template"
|
8 | 9 |
|
9 | 10 |
"github.com/chzyer/readline"
|
10 | |
"github.com/juju/ansiterm"
|
11 | 11 |
"github.com/manifoldco/promptui/list"
|
12 | 12 |
"github.com/manifoldco/promptui/screenbuf"
|
13 | 13 |
)
|
|
586 | 586 |
}
|
587 | 587 |
|
588 | 588 |
var buf bytes.Buffer
|
589 | |
w := ansiterm.NewTabWriter(&buf, 0, 0, 8, ' ', 0)
|
|
589 |
|
|
590 |
w := tabwriter.NewWriter(&buf, 0, 0, 8, ' ', 0)
|
590 | 591 |
|
591 | 592 |
err := s.Templates.details.Execute(w, item)
|
592 | 593 |
if err != nil {
|