Coder Social home page Coder Social logo

How to debug about kitty-color-control HOT 5 CLOSED

fladson avatar fladson commented on August 16, 2024
How to debug

from kitty-color-control.

Comments (5)

kovidgoyal avatar kovidgoyal commented on August 16, 2024 1

Just FYI you dont need to use remote control for these. There are escape codes for changing the background/foreground and cursor colors, you can simply use those. It should make your plugin much simpler/more robust, and it will work with any terminal emulator, not just kitty.

And also note that in master kitty now has a setting for reverse video of the cursor.

from kitty-color-control.

smeikx avatar smeikx commented on August 16, 2024

Hi!

I will properly test it on macOS this week, maybe the issue becomes obvious quickly.

Unfortunately, the only way of debugging I have done so far is sprinkling print() over possible points of failure.

If you want to have a look at the code, I encourage you to give it a shot (it is a relatively small plugin).
Anyway, I will come back to you as soon as I know more.

from kitty-color-control.

smeikx avatar smeikx commented on August 16, 2024

Thanks for the advice!

I’ll be experimenting with escape codes (first have to figure out how to use them) and hopefully get this thing working properly on macOS in the process.

from kitty-color-control.

kovidgoyal avatar kovidgoyal commented on August 16, 2024

For colors, see https://sw.kovidgoyal.net/kitty/faq/#how-do-i-change-the-colors-in-a-running-kitty-instance it documents the needed escape codes.

from kitty-color-control.

smeikx avatar smeikx commented on August 16, 2024

Created an issue for this: #2

from kitty-color-control.

Related Issues (2)

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.