class TTYString::CSICode::G

Public Instance Methods

action(col = 1) click to toggle source
# 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