Revert "terminate links with ST instead of BEL"

This reverts commit a2af168eb4.

Reason: Konsole has a bug that triggers when using \e\ instead of \a.
This commit is contained in:
romkatv 2020-03-13 10:06:18 +01:00
commit 13523b117d
2 changed files with 5 additions and 5 deletions

View file

@ -154,7 +154,7 @@ function print_prompt() {
function href() {
local url=${${1//\%/%%}//\\/\\\\}
if (( _p9k_term_has_href )); then
print -r -- '%{\e]8;;'$url'\e\\%}'$url'%{\e]8;;\e\\%}'
print -r -- '%{\e]8;;'$url'\a%}'$url'%{\e]8;;\a%}'
else
print -r -- $url
fi