project-repo/cagebreak

Disabling message display

Opened this issue · 3 comments

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?

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

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

Thanks again! Still daily driving Cagebreak and loving it.