Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func Example_trailingTab() {
// ---aaaa|---bbbb|---aligned|
}

func Example_ANSIcolor() {
func Example() {
// Observe the text with ANSI color
w := tabwriter.NewWriter(os.Stdout, 0, 0, 1, ' ', tabwriter.Debug)
fmt.Fprintln(w, "a\t\x1b[32mb\x1b[0m\tc") // hex
Expand Down