resize_term (Raggle::Interfaces::NcursesInterface)

    # File raggle, line 4143
          def NcursesInterface::resize_term
            # force refresh (to get new screen coords)
            Ncurses::refresh

            # get screen coordinates
            h = []; w = []
            Ncurses::getmaxyx Ncurses::stdscr, h, w
            $config['w'] = w[0]
            $config['h'] = h[0] - 1

            # resize each window
            $config['theme']['window_order'].each { |key|
              win = $wins[NcursesInterface::get_win_id(key)]

              # determine new coordinates
              coords = $config['theme']['win_' << key]['coords'].dup
              coords[2] = $config['w'] - coords[0] if coords[2] == -1
              coords[3] = $config['h'] - coords[1] if coords[3] == -1

              win.win.move(coords[1], coords[0])
              win.win.resize(coords[3], coords[2])

              # refresh window
              win.refresh
              win.draw_items
            }

            set_status " #{$config['msg_term_resize']}#{w[0]}x#{h[0]}"

            # refresh full screen
            # Ncurses::refresh
          end