Class: TTYString::CSICode::G
- Inherits:
-
TTYString::CSICode
- Object
- TTYString::Code
- TTYString::CSICode
- TTYString::CSICode::G
- Defined in:
- lib/tty_string/csi_code_definitions.rb
Overview
leftovers:allow
Instance Method Summary collapse
Methods inherited from TTYString::CSICode
Methods inherited from TTYString::Code
char, descendants, inherited, #initialize, render
Constructor Details
This class inherits a constructor from TTYString::Code
Instance Method Details
#action(col = 1) ⇒ Object
46 47 48 49 |
# File 'lib/tty_string/csi_code_definitions.rb', line 46 def action(col = 1) # cursor is zero indexed, arg is 1 indexed cursor.col = col.to_i - 1 end |