 
   click: ->
     @setKeyView()
-    @textarea?.remove()
 
   keyDown: (event) ->
     @listenFullscreen event

        @terminal?.server.input event.clipboardData.getData("text/plain")
        @setKeyView()

    @bindEvent 'contextmenu'

    @forwardEvent @terminal, 'command'



  keyUp: (event) ->
    @terminal.keyUp event

  _windowDidResize: (event) ->
    @terminal.windowDidResize()
