Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not possible to update regular cursor color after ryo initializes #64

Open
mattly opened this issue Sep 2, 2024 · 2 comments
Open

not possible to update regular cursor color after ryo initializes #64

mattly opened this issue Sep 2, 2024 · 2 comments

Comments

@mattly
Copy link

mattly commented Sep 2, 2024

I might be missing something, but it appears that ryo looks at the current theme's cursor color when it initializes. If I change the theme (as I often do during a session, between light & dark mode), the regular-mode cursor stays with the initial theme's cursor color.

I can update the modal cursor color programatically, as this is a var, but the regular cursor color that ryo uses is a const.

@Kungsgeten
Copy link
Owner

Hi! I guess I could change it to defvar instead of defconst. Do you intend to update the variable after you change themes?

@mattly
Copy link
Author

mattly commented Sep 4, 2024

yeah, I have an after-theme-change hook to take care of a few other things like the modeline, and could just add it to that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants