From 12f71793ae8d7e3ab32cf412b7c9fe5cc577308b Mon Sep 17 00:00:00 2001 From: Don Williams Date: Wed, 31 Dec 2025 21:33:32 -0500 Subject: Fixed copy.sh to properly print msgs having `\n` newlines On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: copy.sh --- copy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'copy.sh') diff --git a/copy.sh b/copy.sh index e925a698..d73514b4 100755 --- a/copy.sh +++ b/copy.sh @@ -32,7 +32,8 @@ fi # Function to print colorful text print_color() { - printf "%b%s%b\n" "$1" "$2" "$RESET" + # Use %b for the message to interpret backslash escapes like \n, \t, etc. + printf "%b%b%b\n" "$1" "$2" "$RESET" } # Check /etc/os-release for Ubuntu or Debian and warn about Hyprland version requirement -- cgit v1.2.3