draw_items (Raggle::Interfaces::NcursesInterface::TextWindow)

    # File raggle, line 3113
            def draw_items
              item = @items[0] # There can be only one
              item = {} if item == nil  # no items = draw a blank
              y = 1
              w, h = dimensions

              # draw title (if it's set)
              if item['title'] && item['title'] != ''
                draw(item['title'].strip.ljust(w - 2), 1, y, 'f_title', false, false)
                y += 1
              end

              # draw link
              draw("Link: ", 1, y, 'text', false, false)
              if item['site']
                draw(item['site'].ljust(w - 2), 7, y, 'url', false, false)
              elsif item['url']
                draw(item['url'].ljust(w - 2), 7, y, 'url', false, false)
              end

              # don't draw the date if it isn't set (silly RSS)
              if item['date'] && item['date'] != '' && item['date'] != "0"
                y += 1
                draw("Date: ", 1, y, 'text', false, false)

                # handle date string shenanigans
                if (item['date'] =~ /^\d+$/ && (i_val = item['date'].to_i) > 0 &&
                    i_val.is_a?(Fixnum))
                  d_str = Time.at(i_val).strftime($config['desc_date_format'])
                else
                  d_str = item['date']
                end

                # draw date string
                draw(d_str.ljust(w - 2), 7, y, 'date', false, false)
              end

              # draw blank line
              y += 1
              draw(''.ljust(w - 2), 1, y, 'text', false, false)

              # draw item content
              if item['content']

                # clear the description window before drawing the text
                win = $wins[Raggle::Interfaces::NcursesInterface::get_win_id('desc')]
                win.clearrange(y, h - 2)

                y += 1
                if !item['fmt_content']
                  str = item['content'] || ''
                  str = str.strip_tags if $config['strip_html_tags']

                  # cache this stuff so the desc window renders faster
                  item['fmt_content'] = str
                  item['fmt_content_reflow'] = reflow_string(str)
                  item['fmt_content_lines'] = item['fmt_content_reflow'].lines
                end

                str = item['fmt_content_reflow']
                num_lines = item['fmt_content_lines']

                # Offset + 1, so we scroll on the *first* press
                draw(str, 1, y, 'text', false, false, @offset + 1)
                y += (num_lines - @offset)
              end

              # *Much* faster than a total clear each time it scrolls.
              clearrange(y - 1, h - 2)

              refresh(true)
            end