[vte] vte.sh: Revert to C0 controls in OSC sequences



commit b3b3c3585528754a0923fcfc7a74126cd839784f
Author: Egmont Koblinger <egmont gmail com>
Date:   Sun Sep 9 23:39:45 2018 +0200

    vte.sh: Revert to C0 controls in OSC sequences

 src/vte.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vte.sh b/src/vte.sh
index 5fb16996..6d1a8734 100644
--- a/src/vte.sh
+++ b/src/vte.sh
@@ -46,13 +46,13 @@ __vte_ps1() {
 }
 
 __vte_osc7 () {
-  printf "\u009D7;file://%s%s\u009C" "${HOSTNAME:-}" "$(__vte_urlencode "${PWD}")"
+  printf "\033]7;file://%s%s\033\\" "${HOSTNAME:-}" "$(__vte_urlencode "${PWD}")"
 }
 
 __vte_prompt_command() {
   local pwd='~'
   [ "$PWD" != "$HOME" ] && pwd=${PWD/#$HOME\//\~\/}
-  printf "\u009D0;%s@%s:%s\u009C%s" "${USER}" "${HOSTNAME%%.*}" "${pwd}" "$(__vte_osc7)"
+  printf "\033]0;%s@%s:%s\033\\%s" "${USER}" "${HOSTNAME%%.*}" "${pwd}" "$(__vte_osc7)"
 }
 
 case "$TERM" in


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]