diff options
author | Marc Cornellà <hello@mcornella.com> | 2022-10-12 10:49:44 +0200 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2022-10-12 10:49:44 +0200 |
commit | f80cf12092edb1bed8b7972bc1b9d63c836a9be7 (patch) | |
tree | 9bd66e84061347a86144b37a1d435f2634ac4fe0 /tools | |
parent | 11daa7dd5f22acadef1135000e92cc899e22c134 (diff) | |
download | zsh-f80cf12092edb1bed8b7972bc1b9d63c836a9be7.tar.gz zsh-f80cf12092edb1bed8b7972bc1b9d63c836a9be7.tar.bz2 zsh-f80cf12092edb1bed8b7972bc1b9d63c836a9be7.zip |
fix: fix OSC 8 hyperlink escape sequences
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/install.sh | 2 | ||||
-rwxr-xr-x | tools/upgrade.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/install.sh b/tools/install.sh index 495ad2c11..bc3723050 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -185,7 +185,7 @@ supports_truecolor() { fmt_link() { # $1: text, $2: url, $3: fallback mode if supports_hyperlinks; then - printf '\033]8;;%s\a%s\033]8;;\a\n' "$2" "$1" + printf '\033]8;;%s\033\\%s\033]8;;\033\\\n' "$2" "$1" return fi diff --git a/tools/upgrade.sh b/tools/upgrade.sh index afc6a98dd..2f3b4dae3 100755 --- a/tools/upgrade.sh +++ b/tools/upgrade.sh @@ -107,7 +107,7 @@ supports_truecolor() { fmt_link() { # $1: text, $2: url, $3: fallback mode if supports_hyperlinks; then - printf '\033]8;;%s\a%s\033]8;;\a\n' "$2" "$1" + printf '\033]8;;%s\033\\%s\033]8;;\033\\\n' "$2" "$1" return fi |