Method: Vedeu::Geometries::Position#sequence

Defined in:
lib/vedeu/geometries/position.rb

#sequenceString (private)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the escape sequence to reposition the cursors at the coordinates specified by x and y.

Returns:

  • (String)


159
160
161
# File 'lib/vedeu/geometries/position.rb', line 159

def sequence
  "\e[#{y};#{x}H"
end