select_feed (Raggle::Interfaces::NcursesInterface)

    # File raggle, line 3351
          def NcursesInterface::select_feed(id)
            $old_feed = $a_feed || 0
            $a_feed = id

            # clear item window
            item_win = $wins[NcursesInterface::get_win_id('item')]
            # don't reset active item unless feed actually changed
            unless $old_feed == $a_feed
              $a_item = 0
              item_win.offset = 0
              item_win.active_item = 0
            end

            $wins[NcursesInterface::get_win_id('desc')].offset = 0

            # unused.. remove it?
            fmt = $config['item_date_format']

            # wtf is happening here?
            # redshift: block variables in populate_feed_win were being
            # clobbered, passing random objects to item.feed
            raise "id.class.to_s = #{id.class.to_s}" unless id.class == Fixnum

            # build item list
            NcursesInterface::populate_item_win(id)

            # redraw item window
            item_win.draw_items

            $config['feeds'].describe($a_feed)

            # activate item window
            set_active_win(get_win_id('item')) if $config['focus'] == 'select' ||
                                                  $config['focus'] == 'select_first'
          end