Skip to content

Commit

Permalink
Merge pull request #105 from ryansb/escape-unescaped-escapes
Browse files Browse the repository at this point in the history
Also remove literal escape characters `^[`
  • Loading branch information
ralphbean committed Apr 20, 2016
2 parents 5e710ec + 1bacb40 commit b7c5ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taskw/warrior.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def _execute(self, *args):

# strip any crazy terminal escape characters like bells, backspaces,
# and form feeds
for c in ('\a', '\b', '\f'):
for c in ('\a', '\b', '\f', ''):
stdout = stdout.replace(c, '?')
stderr = stderr.replace(c, '?')

Expand Down

0 comments on commit b7c5ca8

Please sign in to comment.