# File raggle, line 2737
        def initialize(opts)
          coords = opts['coords'].dup
          coords[2] = $config['w'] - coords[0] if coords[2] == -1
          coords[3] = $config['h'] - coords[1] if coords[3] == -1

          @active_item = 0
          @active = false
          @offset = 0
          @items = []

          @title = _(opts['title'])
          
          @key = opts['key']
          @colors = opts['colors'].dup

          @win = Ncurses::newwin coords[3], coords[2], coords[1], coords[0]
          refresh
        end