Skip to content

Cannot disable close confirmation for local tabs with running processes #11000

@tladeia

Description

@tladeia

Description

When pressing Ctrl+W to close a local terminal tab that has a running process (e.g., a CLI tool), Tabby shows a confirmation popup asking if I want to close the tab. There doesn't seem to be a way to disable this behavior for local connections.

Configuration Attempted

I've tried all the following settings in config.yaml, but the popup still appears:

# In the profile itself
profiles:
  - type: local
    name: MyProfile
    warnOnClose: false
    disableDynamicTitle: true

# In terminal section
terminal:
  warnOnClose: false
  warnOnCloseAll: false
  confirmOnExit: false

# At root level
confirmOnClose: false

# In profileDefaults
profileDefaults:
  local:
    warnOnClose: false
    disableDynamicTitle: true

None of these settings prevent the confirmation popup from appearing when closing a local tab with a running process.

Expected Behavior

When warnOnClose: false is set (either in the profile, profileDefaults, or terminal section), closing a local tab should NOT show a confirmation popup, even if there's a running process.

Current Behavior

The confirmation popup still appears regardless of the warnOnClose setting for local connections.

Environment

  • OS: Windows 11
  • Tabby Version: Latest

Related Issues

Feature Request

Please add a working configuration option to disable the close confirmation for local terminal tabs, similar to how it works for SSH connections.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions