IBM-Cloud / IBM-Cloud/ibm-cloud-cli-sdk
Table break when the content to display contains "\t"
Open
@weieigao is already working on this.
Since Sep 4, 2018.
- Dominant language
- Go
- Stars
- 35
- Forks
- 53
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 16
Description
For code:
table := cmd.ui.Table([]string{"ID", "Name", "Type", "Content", "Proxiable", "Proxied", "TTL"})
for _, i := range records.Result {
table.Add(i.ID, i.Name, i.Type, i.Content, strconv.FormatBool(i.Proxiable), strconv.FormatBool(i.Proxied), strconv.Itoa(i.Ttl))
}
table.Print()
I get:

content is: "123\t555\twww.test.com"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.