class Reline::ANSI

def self.scroll_down(x)

For more details, see https://github.com/ruby/reline/pull/577#issuecomment-1646679623
This only works when the cursor is at the bottom of the scroll range
def self.scroll_down(x)
  return if x.zero?
  # We use `\n` instead of CSI + S because CSI + S would cause https://github.com/ruby/reline/issues/576
  @@output.write "\n" * x
end