use printf instead of echo due to some minor issues

This commit is contained in:
Quinn
2025-04-08 00:26:55 +02:00
committed by Quinn
parent d6409f5473
commit 961b8796ee

View File

@@ -57,7 +57,7 @@ TARGET := $(DIR_BUILD)/$(NAME)$(EXT)
endif
define wr_colour
@echo -e "\033[$(2)m$(1)\033[0m"
@printf "\033[%sm%s\033[0m\n" $(2) $(1)
endef
# compiles and executes the produced binary