* Re-enable label colors for issue list * Drop parentheses wrapping issue labels * Support ANSI escape codes in TablePrinter cells * Switch to a Truncate implementation that correctly measures ANSI escape codes * Only output RGB color if terminal has truecolor capabilities * Enable `ENABLE_VIRTUAL_TERMINAL_PROCESSING` on Windows - fixes wrapping issues with full lines and allows truecolor rendering Co-authored-by: Mislav Marohnić <mislav@github.com>
16 lines
241 B
Go
16 lines
241 B
Go
// +build !windows
|
|
|
|
package iostreams
|
|
|
|
import (
|
|
"errors"
|
|
"os"
|
|
)
|
|
|
|
func (s *IOStreams) EnableVirtualTerminalProcessing() error {
|
|
return nil
|
|
}
|
|
|
|
func enableVirtualTerminalProcessing(f *os.File) error {
|
|
return errors.New("not implemented")
|
|
}
|