     cols = @width() / colSize | 0
     rows = @height() / rowSize | 0
 
+    console.log cols, rows
     {cols, rows}
 
   destroy: ->

    super

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


  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

