From 217660d0cfdcbe3233019a80eb2dbecbd7a963dc Mon Sep 17 00:00:00 2001 From: Oxbian Date: Mon, 24 Apr 2023 13:29:06 +0200 Subject: fix echo color message send --- matrix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix.sh b/matrix.sh index 812b8a6..91a6904 100755 --- a/matrix.sh +++ b/matrix.sh @@ -82,7 +82,7 @@ send_message() { fi request $(curl -XPUT -H "Authorization: Bearer ${MATRIX_TOKEN}" -H "Content-Type: application/json" --data "$data" \ "https://${MATRIX_HOMESERVER#https://}/_matrix/client/r0/rooms/$MATRIX_ROOM_ID/send/m.room.message/$id") - echo "\033[1;32m[v] Message sent\033[0m" + echo -e "\033[1;32m[v] Message sent\033[0m" } # Show the help menu -- cgit v1.2.3