Class: CLI::UI::OS::Mac

Inherits:
Object
  • Object
show all
Defined in:
lib/cli/ui/os.rb

Direct Known Subclasses

Linux

Class Method Summary collapse

Class Method Details

.shift_cursor_on_line_reset?Boolean

Returns:

  • (Boolean)

37
38
39
# File 'lib/cli/ui/os.rb', line 37

def shift_cursor_on_line_reset?
  false
end

.supports_arrow_keys?Boolean

Returns:

  • (Boolean)

33
34
35
# File 'lib/cli/ui/os.rb', line 33

def supports_arrow_keys?
  true
end

.supports_color_prompt?Boolean

Returns:

  • (Boolean)

29
30
31
# File 'lib/cli/ui/os.rb', line 29

def supports_color_prompt?
  true
end

.supports_emoji?Boolean

Returns:

  • (Boolean)

25
26
27
# File 'lib/cli/ui/os.rb', line 25

def supports_emoji?
  true
end