# File lib/simp/cli/config/logging.rb, line 113 def format_console_message(message, font_options) options = '' if font_options.nil? or font_options.empty? formatted_message = message else options = ", #{font_options.join(', ')}" extra = '' adjusted_message = message.dup if adjusted_message[-1] == ' ' # HighLine interprets a space at the end of a message to mean # that an ending <CR> should be omitted. We need to maintain # this in our formatted message. adjusted_message.chop! extra = ' ' end formatted_message = "<%= color(%q{#{adjusted_message}}#{options}) %>#{extra}" end formatted_message end