             # nothing implemented
             return
         @terminal.refresh(0, @opts.rows-1)
-        @render_scrollbar()
+        @resize_scrollbar()
 
 
     # Determine the current size (rows and columns) of the DOM

            return false

        @element.find("a[href=#refresh]").click () =>
            #console.log("refresh")
            @resize()
            #console.log("calling ", @opts.reconnect)
            @opts.reconnect?()
            return false

        @element.find("a[href=#paste]").click () =>
            s = "To copy, highlight text then press ctrl+c (or command+c).  Press ctrl+v (or command+v) to paste.  When no text is highlighted, ctrl+c sends the usual interrupt signal.<textarea>#{@value()}</textarea>"
            bootbox.alert(s)
            return false

    value: () =>
        return @terminal.lines.join('\n')

    _init_input_line: () =>

        #if not IS_MOBILE
        #    @element.find(".salvus-console-mobile-input").hide()
        #    return

        sb.height(elt.height())

    set_scrollbar_to_term: () =>
        if @terminal.ybase == 0  # less than 1 page of text in buffer
            @scrollbar.hide()
            return
