summaryrefslogtreecommitdiffstats
path: root/common/text/position.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/text/position.go')
-rw-r--r--common/text/position.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/text/position.go b/common/text/position.go
index 34e856c5d..cc1eda354 100644
--- a/common/text/position.go
+++ b/common/text/position.go
@@ -83,7 +83,7 @@ func createPositionStringFormatter(formatStr string) func(p Position) string {
msg := fmt.Sprintf(format, args...)
- if terminal.IsTerminal(os.Stdout) {
+ if terminal.PrintANSIColors(os.Stdout) {
return terminal.Notice(msg)
}