Permalink
Browse files

Merge pull request #76 from mbauman/ascii_control_codes

Remove any character that precedes backspace (\08)
  • Loading branch information...
2 parents e4e074c + c70845e commit 539d0bb4239583270371d61f6c42c28932c01574 @wuub wuub committed Sep 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sublimerepl.py
View
@@ -250,7 +250,7 @@ def write(self, unistr):
# remove color codes
if self._filter_color_codes:
unistr = re.sub(r'\033\[\d*(;\d*)?\w', '', unistr)
- unistr = re.sub(r'_\x08', '', unistr)
+ unistr = re.sub(r'.\x08', '', unistr)
# string is assumet to be already correctly encoded
v = self._view

0 comments on commit 539d0bb

Please sign in to comment.