Skip to content

Commit

Permalink
change the terminal.autoOpen default to true
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Jun 4, 2023
1 parent c0352bc commit 86cff8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tabby-local/src/cli.ts
Expand Up @@ -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()
})
Expand Down
2 changes: 1 addition & 1 deletion tabby-local/src/config.ts
Expand Up @@ -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,
Expand Down

0 comments on commit 86cff8d

Please sign in to comment.