lib/command/list.rb in narou-1.5.0.1 vs lib/command/list.rb in narou-1.5.0.2
- old
+ new
@@ -78,10 +78,12 @@
# 更新だけあった色
s.replace "<bold><green>#{s}</green></bold>".termcolor
end
},
@options["type"] ? NOVEL_TYPE_LABEL[novel_type] : nil,
- novel["title"] + (!@options["type"] && novel_type == 2 ? " (#{NOVEL_TYPE_LABEL[novel_type]})" : ""),
+ novel["title"] + (!@options["type"] && novel_type == 2 ?
+ " <gray>(#{NOVEL_TYPE_LABEL[novel_type]})</gray>".termcolor :
+ ""),
@options["url"] ? novel["toc_url"] : nil
].compact.join(" | ")
end
end