Browse Source

fixed #8097 - "close pane" hotkey doesn't kill the process

Eugene 1 year ago
parent
commit
da5342b4a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tabby-core/src/components/splitTab.component.ts

+ 1 - 1
tabby-core/src/components/splitTab.component.ts

@@ -350,7 +350,7 @@ export class SplitTabComponent extends BaseTabComponent implements AfterViewInit
                     }
                     break
                 case 'close-pane':
-                    this.removeTab(this.focusedTab)
+                    this.focusedTab.destroy()
                     break
                 case 'pane-increase-vertical':
                     this.resizePane('v')