Skip to content

Use OSC 9/OSC 777 notification on more terminals #25202

@jackyliuxx

Description

@jackyliuxx

What would you like to be added?

The existing notification feature only uses OSC 9 notification on iTerm2, Kitty, Ghostty, WezTerm, and other terminals only got bell. There are many terminals that do not support OSC 9 but support OSC 777.

Request to add support for OSC 777, and let users choose which one to use.
By default, it can be auto-selected according to the detected terminal:
iTerm2, Kitty: Use OSC 9
Windows Terminal: Use BEL
Others: Use OSC 777

Why is this needed?

To allow more terminal apps recieved notification with messages instead of only a BEL.

Additional context

There was a similar FR #17819 which was closed as inactive. But I think the feature will be very helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues related to User Interface, OS Support, Core Functionalityhelp wantedWe will accept PRs from all issues marked as "help wanted". Thanks for your support!
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions