Skip to content
Browse files

Make sure to strip out escape reset as well.

  • Loading branch information...
1 parent 6c5b9ef commit 8767bc7a11c08761b973835151baf2f46ec51f01 @Flameeyes Flameeyes committed Jul 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 readscript.rb
View
2 readscript.rb
@@ -83,7 +83,7 @@
match = false
# remove escape sequences
- line.gsub!(/\x1b\[[^\x40-\x7e]+[\x40-\x7e]/, '')
+ line.gsub!(/\x1b\[[^\x40-\x7e]*[\x40-\x7e]/, '')
if line =~ warnings
match = true

0 comments on commit 8767bc7

Please sign in to comment.
Something went wrong with that request. Please try again.