 
 
   handlePaneShown:(pane, index)->
-
     @_windowDidResize()
     {terminalView} = pane.getOptions()
 


    @on 'VMItemClicked',     @bound 'prepareAndRunTerminal'
    @on 'PlusHandleClicked', @bound 'handlePlusClick'

    {vmController} = KD.singletons
    vmController.on 'vm.progress.error', => notify cssClass : 'error'

    @startTab.on "sessionSelected", ({vm, session}) => @createNewTab {vm, session, mode: 'resume'}

  initPane: (pane) ->



    @appendTerminalTab terminalView
    terminalView.connectToTerminal()
    @forwardEvent terminalView, "WebTermConnected"

  addStartTab:->

