Skip to content

Commit

Permalink
Merge pull request #39 from noelbush/master
Browse files Browse the repository at this point in the history
make "up" escape sequence work right
  • Loading branch information
jeamland committed May 9, 2012
2 parents b32d1c4 + 8e61ca0 commit 6d5f521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions behave/formatter/ansi_escapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

escapes = {
'reset': u'\x1b[0m',
'up': u'\x1b[#1A',
'up': u'\x1b[1A',
}

if 'GHERKIN_COLORS' in os.environ:
Expand All @@ -42,4 +42,4 @@


def up(n):
return u"\x1b[#%dA" % n
return u"\x1b[%dA" % n

0 comments on commit 6d5f521

Please sign in to comment.