   fetchStorage: (callback) ->
     storage = KD.getSingleton('appStorageController').storage 'Terminal', '1.0.1'
     storage.fetchStorage -> callback storage
-
-  restoreTabs: (vm) ->
-
-    notify
-      title     : "Checking for previous sessions"
-      cssClass  : "success"
-
-    @fetchStorage (storage) =>
-      sessions = storage.getValue 'savedSessions'
-      activeIndex = storage.getValue 'activeIndex'
-      if sessions?.length
-        for session in sessions
-          [vmName, sessionId] = session.split ':'
-          @createNewTab { vm, session: sessionId, mode: 'resume' }
-        activePane = @tabView.getPaneByIndex activeIndex ? 0
-        @tabView.showPane activePane
-        { terminalView } = activePane.getOptions()
-        terminalView.setKeyView()
-      else
-        @addNewTab vm
 
 
   showApprovalModal: (remote, command)->


    @appendTerminalTab terminalView
    terminalView.connectToTerminal()

  addStartTab:->




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

