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

Disabling message display #72

Open
sodface opened this issue Jan 18, 2024 · 3 comments
Open

Disabling message display #72

sodface opened this issue Jan 18, 2024 · 3 comments

Comments

@sodface
Copy link

sodface commented Jan 18, 2024

Hi again, this is possibly a feature request but also just a question to make sure I'm not missing the obvious. I'm working on a project using Cagebreak and I do not want messages to be displayed. The only way I've found so far to accomplish that is to make both foreground and background completely transparent, eg:

configure_message fg_color 1.0 0.0 0.0 0.0
configure_message bg_color 1.0 0.0 0.0 0.0

Which is the example from the doc for making both foreground and background red except changing the last field (alpha) to 0.0 for both.

This works but seems a bit hacky since the underlying message code is still running. Is there a better way to do this?

@project-repo
Copy link
Owner

Hi sodface

Interesting, we never considered this use-case, you are right that
this is not implemented. We're currently considering adding
a command that prevents any messages from being displayed, as you
suggest. The API is not yet clear though, but probably will be
an extension of the message configuration command.

In any case, it will be included in the release after the one we are
planning right now (the one we (slightly optimistically) called the
"year-end release").

Feel free to provide suggestions for the exact API.

cheers
project-repo

@project-repo
Copy link
Owner

Hi sodface,
Looking at the open issues, I realized that it seems that we forgot to
resolve this in the last release, sorry about that. It's been added to
the checklist for the upcoming release.
Cheers,
project-repo

@sodface
Copy link
Author

sodface commented May 1, 2024

Thanks again! Still daily driving Cagebreak and loving it.

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