 
     @tabView.addPane pane
 
-  appendTerminalTab: (terminalView) ->
+  appendTerminalTab: (terminalView, shouldShow = yes) ->
 
     @forwardEvents terminalView, ['KeyViewIsSet', 'command']
 

            [alias, sessionId] = session.split ':'
            if sessionId in activeSessions
              sessionRestored = yes
              @createNewTab {vm: vmList[alias], session: sessionId, mode: 'resume'}

          unless sessionRestored
            @notify


  createNewTab: (options = {}) ->

    {shouldShow} = options
    {hostnameAlias: vmName, region} = options.vm

    defaultOptions =
      testPath    : "webterm-tab"
