class TTYString::CSICode::H

Public Instance Methods

action(row = 1, col = 1) click to toggle source
# File lib/tty_string/csi_code_definitions.rb, line 53
def action(row = 1, col = 1)
  # cursor is zero indexed, arg is 1 indexed
  cursor.row = row.to_i - 1
  cursor.col = col.to_i - 1
end