Module: Console::Output::XTerm

Defined in:
lib/console/output/terminal.rb

Overview

Terminal XTerm output.

Class Method Summary collapse

Class Method Details

.new(output, **options) ⇒ Object

Create a new terminal output.

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



304
305
306
# File 'lib/console/output/terminal.rb', line 304

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