Browse Source

change the terminal.autoOpen default to true

Eugene Pankov 2 years ago
parent
commit
86cff8d98a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      tabby-local/src/cli.ts
  2. 1 1
      tabby-local/src/config.ts

+ 1 - 1
tabby-local/src/cli.ts

@@ -130,7 +130,7 @@ export class AutoOpenTabCLIHandler extends CLIHandler {
     }
 
     async handle (event: CLIEvent): Promise<boolean> {
-        if (!event.secondInstance && this.config.store.terminal.autoOpen) {
+        if (!event.secondInstance && this.config.store.terminal.autoOpen && !this.config.store.enableWelcomeTab) {
             this.app.ready$.subscribe(() => {
                 this.terminal.openTab()
             })

+ 1 - 1
tabby-local/src/config.ts

@@ -4,7 +4,7 @@ import { ConfigProvider, Platform } from 'tabby-core'
 export class TerminalConfigProvider extends ConfigProvider {
     defaults = {
         terminal: {
-            autoOpen: false,
+            autoOpen: true,
             useConPTY: true,
             environment: {},
             setComSpec: false,