Module: TTY::Link::Terminals Private
- Defined in:
- lib/tty/link/terminals.rb,
lib/tty/link/terminals/wt.rb,
lib/tty/link/terminals/rio.rb,
lib/tty/link/terminals/vte.rb,
lib/tty/link/terminals/foot.rb,
lib/tty/link/terminals/hyper.rb,
lib/tty/link/terminals/iterm.rb,
lib/tty/link/terminals/kitty.rb,
lib/tty/link/terminals/tabby.rb,
lib/tty/link/terminals/mintty.rb,
lib/tty/link/terminals/vscode.rb,
lib/tty/link/terminals/contour.rb,
lib/tty/link/terminals/domterm.rb,
lib/tty/link/terminals/konsole.rb,
lib/tty/link/terminals/wezterm.rb,
lib/tty/link/terminals/abstract.rb,
lib/tty/link/terminals/jediterm.rb,
lib/tty/link/terminals/alacritty.rb,
lib/tty/link/terminals/terminology.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Responsible for loading terminals
Defined Under Namespace
Classes: Abstract, Alacritty, Contour, Domterm, Foot, Hyper, Iterm, Jediterm, Kitty, Konsole, Mintty, Rio, Tabby, Terminology, Vscode, Vte, Wezterm, Wt
Class Method Summary collapse
-
.register(terminal_class) ⇒ void
private
Register a terminal class.
-
.registered ⇒ Array<TTY::Link::Terminals::Abstract>
private
The registered terminal classes.
Class Method Details
.register(terminal_class) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
Register a terminal class
48 49 50 |
# File 'lib/tty/link/terminals.rb', line 48 def self.register(terminal_class) registered << terminal_class end |
.registered ⇒ Array<TTY::Link::Terminals::Abstract>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The registered terminal classes
33 34 35 |
# File 'lib/tty/link/terminals.rb', line 33 def self.registered @registered ||= [] end |