diff --git a/behave/formatter/ansi_escapes.py b/behave/formatter/ansi_escapes.py index 6527586fe..3e48ddaac 100644 --- a/behave/formatter/ansi_escapes.py +++ b/behave/formatter/ansi_escapes.py @@ -27,7 +27,7 @@ escapes = { 'reset': u'\x1b[0m', - 'up': u'\x1b[#1A', + 'up': u'\x1b[1A', } if 'GHERKIN_COLORS' in os.environ: @@ -42,4 +42,4 @@ def up(n): - return u"\x1b[#%dA" % n + return u"\x1b[%dA" % n