class Reline::ANSI

def self.move_cursor_up(x)

Experimental RBS support (using type sampling data from the type_fusion project).

def self.move_cursor_up: (Integer x) -> Integer

This signature was generated using 1 sample from 1 application.

def self.move_cursor_up(x)
  if x > 0
    @@output.write "\e[#{x}A"
  elsif x < 0
    move_cursor_down(-x)
  end
end