mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Use @history.raw instead of @history.to_s to avoid colour in the saved history file.
This commit is contained in:
parent
9dc32f09c3
commit
a627a56f6a
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class Pry
|
|||
|
||||
output.puts "Saving history in #{file_name}..."
|
||||
|
||||
File.open(file_name, 'w') { |f| f.write(@history.to_s) }
|
||||
File.open(file_name, 'w') { |f| f.write(@history.raw) }
|
||||
|
||||
output.puts "History saved."
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue