mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Colorize *all* the lines
This commit is contained in:
parent
4387579025
commit
0fbadb9f46
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ class Pry
|
|||
original_val = "#{indentation}#{val}"
|
||||
indented_val = @indent.indent(val)
|
||||
|
||||
if original_val != indented_val && output.tty? && Pry::Helpers::BaseHelpers.use_ansi_codes? && Pry.config.correct_indent
|
||||
if output.tty? && Pry::Helpers::BaseHelpers.use_ansi_codes? && Pry.config.correct_indent
|
||||
output.print @indent.correct_indentation(current_prompt + indented_val, original_val.length - indented_val.length)
|
||||
output.flush
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue