chiark / gitweb /
xterm-title: Use printf rather than 'echo -en'. ESC ] 0 ; <title> BEL seems
[bin.git] / xterm-title
index 7a6a536c79cb35d3d468c76bf496c45934f8719f..b408bfc41be6f964ec13ae6186b4ca8a70924971 100755 (executable)
@@ -1,2 +1,2 @@
 #! /bin/sh
-echo -en '\e]2;'"$*"'\e\\'
+printf '\e]0;'"$*"'\a'