Move prefix definition to common file

This commit is contained in:
okvdai
2023-06-02 12:29:29 +02:00
parent 748981160a
commit 6f4425872b
@@ -1,6 +1,12 @@
globalize_all_functions
string pulsePrefix
void function pulsePrefixSet {
pulsePrefix = format("\x1b[38;2;%i;%i;%im[PULSE]\x1b[0m", 255, 178, 102)
}
void function pulsePrintt (string content) //Prints whatever we want printed with given prefix (by standard [PULSE]).
{
printt(format("%s " + content, pulsePrefix))