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

msg color #617

Open
igroglaz opened this issue Jan 25, 2024 · 0 comments
Open

msg color #617

igroglaz opened this issue Jan 25, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@igroglaz
Copy link
Contributor

igroglaz commented Jan 25, 2024

there was a new PWMA feature which introduced very useful formatted color.

it can be used not only for partial format coloring, but to color entire msg, eg like this:
igroglaz@a850eda

but to make it work I have to put space before formatted string (without space it doesn't work) and make string formatted

/rfe
to add separate new function for simple output of colored messages without sound. so instead of
msgt(p, MSG_GENERIC, " $v%s^v", "You've become as intangible as a wisp of cloud in the sky.");
we will be able to use
msgc(p, "$vYou've become as intangible as a wisp of cloud in the sky.^v");
or in case if we will wont more colors in the message:
msgc(p, "$gYou've become as intangible^g $vas a wisp of cloud in the sky.^v");

@draconisPW draconisPW added the enhancement New feature or request label Jan 25, 2024
@draconisPW draconisPW added this to the future milestone Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants