Giter Club home page Giter Club logo

Comments (3)

chrisduerr avatar chrisduerr commented on June 7, 2024 1

Is it the specific mechanism or the general goal of notifying processes about color changes?

Both.

from alacritty.

chrisduerr avatar chrisduerr commented on June 7, 2024

I would love to hear what your thoughts on my specification are and if this is something that you would be open to include in Alacritty. I would be more than happy to work on a PR for this.

I'm not interested in this at all. I see no reason why the foreground process would need to be notified about color updates when it should be the only one actually requesting color updates. That seems like a serious issue in the way the client is written, not a reason to add new escape mechanisms.

Having this included in the OSC also doesn't make any sense. It sounds more like a new terminal mode to me that would report all color changes. Having a mode change like that encoded in an existing OSC escape just feels lazy.

from alacritty.

bash avatar bash commented on June 7, 2024

I'm not interested in this at all.

Is it the specific mechanism or the general goal of notifying processes about color changes?

I see no reason why the foreground process would need to be notified about color updates when it should be the only one actually requesting color updates.

The foreground process doesn't know when the color changes.

Currently the only option is to poll for color updates by repeatedly sending something like OSC 10; ? ST. That seems like a very wasteful solution to me.

Would you be more open to a less granular mechanism (for example a mode that is enabled/disabled with DECSET/DECRST)?

from alacritty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.