class Console::Terminal::Text
def write(*arguments, style: nil)
@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