Skip to content

Support generic scroll bar mark sequences (OSC 1337 ; SetMark) #151769

Closed

Description

@Tyriar

Windows Terminal added this recently, there's a bunch of info/research available on microsoft/terminal#11000 and microsoft/terminal#12948

This may be useful in #150833 depending on how clever we want the task integration to be.

https://iterm2.com/documentation-escape-codes.html

Activity

  1. zadjii-msft commented on Jun 10, 2022

    @zadjii-msft
    Member

    lmao I was largely inspired by you guys 😅 I saw https://code.visualstudio.com/updates/v1_65#_terminal-shell-integration and was like yea now this is a good idea

  2. Tyriar commented on Jun 10, 2022

    @Tyriar
    ContributorAuthor

    Mike Griese (@zadjii-msft) hehe. If you go down the full blown shell integration route I can walk you through all the hacks needed to get it working through conpty 😉, It's working quite well now for pwsh but it took a while to get right.

  3. changed the title [-]Support scroll bar mark sequences[/-] [+]Support generic scroll bar mark sequences (OSC 1337 ; SetMark)[/+] on Jun 15, 2022
  4. Tyriar commented on Jun 15, 2022

    @Tyriar
    ContributorAuthor

    If we had a generic mark system we could use them in PartialCommandDetectionCapability so mark decorations show up in the buffer even when shell integration is disabled.

  5. Tyriar commented on Jun 15, 2022

    @Tyriar
    ContributorAuthor

    This would be a good icon for generic marks:

    image

    @misolori should we add an alias for that and/or create a dot codicon?

  6. miguelsolorio commented on Jun 15, 2022

    @miguelsolorio
    Contributor

    Daniel Imms (@Tyriar) that one is specific to the debug icon as it's overlayed and aligned to fit within another icon. we have other dots but also happy to introduce a smaller one if that is desired:

    CleanShot 2022-06-15 at 09 54 43@2x

  7. Tyriar commented on Jun 15, 2022

    @Tyriar
    ContributorAuthor

    @misolori this will be for the naive command detection when shell integration is disabled as well as arbitrary "marks" that either the shell adds or the user does via a command, etc. I figured the little dot would look nice to contrast it strongly with real shell integration (circle-outline and other medium circle icons) and because it's a smaller, more basic version of shell integration.

  8. miguelsolorio commented on Jun 15, 2022

    @miguelsolorio
    Contributor

    Ok, I can add in a request to add a smaller one

  9. added
    unreleasedPatch has not yet been released in VS Code Insiders
    insiders-releasedPatch has been released in VS Code Insiders
    and removed
    unreleasedPatch has not yet been released in VS Code Insiders
    on Jun 23, 2022
  10. locked and limited conversation to collaborators on Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insiderson-testplanterminal-shell-integrationShell integration infrastructure, command decorations, etc.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions