chiark / gitweb /
xterm-title: Use printf rather than 'echo -en'. ESC ] 0 ; <title> BEL seems
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Mon, 20 Jan 2003 17:12:17 +0000 (17:12 +0000)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Mon, 20 Jan 2003 17:12:17 +0000 (17:12 +0000)
to be a more canonical sequence.

xterm-title

index 7a6a536..b408bfc 100755 (executable)
@@ -1,2 +1,2 @@
 #! /bin/sh
-echo -en '\e]2;'"$*"'\e\\'
+printf '\e]0;'"$*"'\a'