     super
 
   initialize: (@state)->
+    console.log "initializing"
     {cols, rows} = @getDimensions()
     {cwd, shell, shellArguments, runCommand} = @opts
     args = shellArguments.split /\s+/g

    cols = @width() / colSize | 0
    rows = @height() / rowSize | 0

    {cols, rows}

  destroy: ->


  resizeToPane: ->
    {cols, rows} = @getDimensions()
    return unless cols > 0 and rows > 0
    return unless @term
    return if @term.rows is rows and @term.cols is cols

