Browse files

Don't reset after each pixel.

  • Loading branch information...
1 parent 548caf8 commit 06bc4b55309015305fbeede942676c016d04234c @pda committed Jan 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 asc.rb
View
2 asc.rb
@@ -93,7 +93,7 @@ def initialize char = " ", fg = nil, bg = nil
def fg; @fg || 255 end
def bg; @bg || 0 end
def to_s
- "\033[48;5;%dm\033[38;5;%dm%s\033[0m" % [ bg, fg, @char ]
+ "\033[48;5;%dm\033[38;5;%dm%s" % [ bg, fg, @char ]
end
end

0 comments on commit 06bc4b5

Please sign in to comment.