 
     render_log_entries: ->
         <WindowedList
+            ref = {@window_list_ref}
             overscan_row_count = {10}
             estimated_row_size={20}
             row_count={@get_log().size + 1}


        return @_log = v

    increment_cursor: ->
        if @state.cursor_index >= @get_log().size - 1
            return
        @setState(cursor_index : @state.cursor_index + 1)

    decrement_cursor: ->
        if @state.cursor_index <= 0
            return
        @setState(cursor_index : @state.cursor_index - 1)

    reset_cursor: ->
        @setState(cursor_index : 0)

    render_paging_buttons: (num_pages, cur_page) ->
        <ButtonGroup>

        search : ''   # search that user has requested

    getInitialState: ->
        # Temporarily sticking this here until we switch to typescript
        @window_list_ref = React.createRef()

        return {cursor_index : 0}

    shouldComponentUpdate: (nextProps, nextState) ->
        if @state.cursor_index != nextState.cursor_index
