Remove newline causing color problem when printing to a pager

parent d863ecf2
......@@ -203,7 +203,7 @@ module Pod
puts_indented "#{set.name} #{set.versions.first.version}"
else
pod = Specification::Set::Presenter.new(set)
title = "\n-> #{pod.name} (#{pod.version})"
title = "-> #{pod.name} (#{pod.version})"
if pod.spec.deprecated?
title += " #{pod.deprecation_description}"
colored_title = title.red
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment