diff options
| author | Don Williams <don.e.williams@gmail.com> | 2025-12-31 21:33:32 -0500 |
|---|---|---|
| committer | Don Williams <don.e.williams@gmail.com> | 2025-12-31 21:33:32 -0500 |
| commit | 12f71793ae8d7e3ab32cf412b7c9fe5cc577308b (patch) | |
| tree | b278d725d4eaa40a8be6db37ff42ae415e3607f0 /copy.sh | |
| parent | 991f30d07ffbdeef8498ca45cf85284b2e85280e (diff) | |
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
Diffstat (limited to 'copy.sh')
| -rwxr-xr-x | copy.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |
