 
     refresh: () =>
         @terminal.refresh(0, @opts.rows-1)
+        @terminal.showCursor()
 
 
     # Determine the current size (rows and columns) of the DOM

        @_needs_resize = false
        @session.write_data(resize_code(@opts.cols, @opts.rows))

        # Refresh depends on correct @opts being set!
        @refresh()

    resize_terminal: () =>
        # Determine size of container DOM.

            @set_session(opts.session)

    append_to_value: (data) =>
        # this @value is used for copy/paste of the session history and @value_orig for resize/refresh
        @value_orig += data
        @value += data.replace(/\x1b\[.{1,5}m|\x1b\].*0;|\x1b\[.*~|\x1b\[?.*l/g,'')

    init_mesg: () =>
