class Console::Terminal::Text

def write(*arguments, style: nil)

@parameter style [Symbol] The style to apply.
@parameter arguments [Array] The arguments to write.

Write the given arguments to the output stream using the given style. The reset sequence is automatically appended.
def write(*arguments, style: nil)
	if style and prefix = self[style]
		@stream.write(prefix)
		@stream.write(*arguments)
		@stream.write(self.reset)
	else
		@stream.write(*arguments)
	end
end