Module: Tui
- Defined in:
- lib/tui.rb
Overview
writers are rendered via rwrite-style positioning (clear line + move col).
Defined Under Namespace
Modules: ANSI, Helpers, Metrics, Palette, Text Classes: InputField, Line, Screen, Section, SegmentWriter, Terminal
Class Attribute Summary collapse
-
.colors_enabled ⇒ Object
Returns the value of attribute colors_enabled.
Class Method Summary collapse
Class Attribute Details
.colors_enabled ⇒ Object
Returns the value of attribute colors_enabled.
28 29 30 |
# File 'lib/tui.rb', line 28 def colors_enabled @colors_enabled end |
Class Method Details
.colors_enabled? ⇒ Boolean
30 31 32 |
# File 'lib/tui.rb', line 30 def colors_enabled? @colors_enabled end |
.disable_colors! ⇒ Object
34 35 36 |
# File 'lib/tui.rb', line 34 def disable_colors! @colors_enabled = false end |
.enable_colors! ⇒ Object
38 39 40 |
# File 'lib/tui.rb', line 38 def enable_colors! @colors_enabled = true end |