def setup_curses(linesf, linesh)
      Curses::noecho
      Curses::init_screen
      @subpad_start = linesh
      update_subpad_size
      @padh = Curses::Pad.new(linesh, Curses::cols)
      @padb = Curses::Pad.new(Curses::lines - linesh - linesf, Curses::cols)
      @padf = Curses::Pad.new(linesf, Curses::cols)
      configure_curses
    end
def setup_curses(linesf, linesh)
      Curses::noecho
      Curses::init_screen
      @subpad_start = linesh
      update_subpad_size
      @padh = Curses::Pad.new(linesh, Curses::cols)
      @padb = Curses::Pad.new(Curses::lines - linesh - linesf, Curses::cols)
      @padf = Curses::Pad.new(linesf, Curses::cols)
      configure_curses
    end
region External