change the terminal.autoOpen default to true

This commit is contained in:
Eugene Pankov
2023-06-04 20:34:28 +02:00
parent c0352bceac
commit 86cff8d98a
2 changed files with 2 additions and 2 deletions

View File

@@ -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()
})

View File

@@ -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,