ConsoleSourceConsoleOutputXTerm

module XTerm

Terminal XTerm output.

Definitions

def self.new(output, **options)

Create a new terminal output.

You can use this to force XTerm output on a non-TTY output streams that support XTerm escape codes.

Signature

parameter output IO

The output stream.

parameter options Hash

Additional options to customize the output.

returns Console::Output::Terminal

The terminal output instance.

Implementation

def self.new(output, **options)
	Terminal.new(output, format: Console::Terminal::XTerm, **options)
end