     kd.utils.stopDOMEvent event
     @server.input event.originalEvent.clipboardData.getData "text/plain"
     @setKeyFocus()
-
-


  writeEmptyText: (length, options) ->
    if not @currentWhitespaceStyle?
      @currentWhitespaceStyle = $.extend true, {}, @currentStyle
      @currentWhitespaceStyle.inverse = false
    @currentWhitespaceStyle
    options ?= {}

    @screenBuffer.setLineContent lineIndex, newContent

  setStyle: (name, value) ->
    @currentStyle = new Style @currentStyle
    @currentStyle[name] = value
    @currentWhitespaceStyle = null

