   resizeActiveTerminalPane: ->
 
     for ideView in @ideViews
-      pane = ideView.tabView.getActivePane()
-      if pane and pane.view instanceof IDETerminalPane
+
+      { panes } = ideView.tabView
+
+      for pane in panes when pane and pane.view instanceof IDETerminalPane
         pane.view.webtermView.terminal?.updateSize()
 
 


    @recalculateHandles()
    @writeSnapshot()  if saveSnapshot


  recalculateHandles: ->


    @recalculateHandles()
    @writeSnapshot()
    @resizeActiveTerminalPane()


  handleSplitMerge: (views, container, parentSplitView, panelIndexInParent) ->
