summaryrefslogtreecommitdiffstats
path: root/commands/helpers.go
diff options
context:
space:
mode:
authorLorenz Cuno Klopfenstein <lck@klopfenstein.net>2018-05-22 17:15:19 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-05-22 17:15:19 +0200
commit568b4335c20effb46168bd639317a3420f563463 (patch)
tree541ec580b13b674fc28f3210591e2ac39053639f /commands/helpers.go
parent14705ecead09a0ad8dfa4de2d9b5ba9188c32d07 (diff)
commands: Avoid ANSI character output on Windows
Fixes #4462
Diffstat (limited to 'commands/helpers.go')
-rw-r--r--commands/helpers.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/commands/helpers.go b/commands/helpers.go
index 1386e425f..be6edaf99 100644
--- a/commands/helpers.go
+++ b/commands/helpers.go
@@ -23,13 +23,6 @@ import (
"github.com/spf13/cobra"
)
-const (
- ansiEsc = "\u001B"
- clearLine = "\r\033[K"
- hideCursor = ansiEsc + "[?25l"
- showCursor = ansiEsc + "[?25h"
-)
-
type flagsToConfigHandler interface {
flagsToConfig(cfg config.Provider)
}