Skip to content

Issue mode 2031 DSR when config is reloaded #3965

Open
@mitchellh

Description

@mitchellh

Discussed in #3933

Originally posted by gpanders December 29, 2024
After discussion in the Contour issue tracker and in Ghostty's Discord, @christianparpart suggested that Ghostty should not be sending mode 2031 DSRs when any color changes based on a VT sequence (e.g. an OSC 10/11/12 sequence). DSRs should only be sent when the color palette changes because of a config reload or system event such as a transition from light to dark mode.

For Neovim this would solve the issue of receiving too many DSRs (we currently get one every time the cursor color changes, which can be quite frequent based on the user's 'guicursor' setting).

Metadata

Metadata

Assignees

No one assigned

    Labels

    vtControl sequence related

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions