Skip to content

Enable only specific shell_integration features  #11301

Closed

Description

@RGBCube

Related problem

No response

Describe the solution you'd like

As discussed in the Discord server:

shell_integration: {
  OSC7: true
  OSC8: true
  OSC2: true
  VSCODE: true
...
}

Maybe use readable names instead of the codenames as well?

Describe alternatives you've considered

No response

Additional context and details

To not be a breaking change and for ease of use, setting shell_integration to true or false would toggle all settings, and giving a record would toggle those specific features, if a features is omitted from that record it would default to false.

Activity

  1. added
    category:enhancement
    status:needs-triage
    on Dec 12, 2023
  2. added
    A:configuration
    usage:repl
    on Dec 13, 2023
  3. TheLostLambda commented on Apr 18, 2024

    @TheLostLambda
    Contributor

    Additionally, if anyone knows which of these integrations are the ones that cause issues in some terminals, then perhaps we selectively enable a couple by default as well!

    Especially things like setting the window title with OSC2 feel like they should be enabled by default, but I don't know if there is some wild Windows or MacOS stuff going on that I've not encountered. The window-title setting has always been enabled by default on the shells I've used in the past (like fish).

  4. fdncred commented on Apr 23, 2024

    @fdncred
    Contributor

    If you want to try out the PR it's #12629

  5. added a commit that references this issue on May 2, 2024
    0805f1f
  6. added this to the v0.94.0 milestone on May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:configurationcategory:enhancementstatus:needs-triageusage:repl

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions