From 953bf7f3390ac562e2a1d566c9e3fbab60af73cd Mon Sep 17 00:00:00 2001 From: Serge Tkatchouk Date: Thu, 5 Aug 2021 01:16:21 +0800 Subject: [PATCH] Fix two iTerm control sequences being clapped together --- examples/cssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cssh b/examples/cssh index d0e0c49..4263da3 100755 --- a/examples/cssh +++ b/examples/cssh @@ -13,7 +13,7 @@ fi set_colors() { local _fg="${1}" _bg="${2}" if [[ "${TERM_PROGRAM}" == 'iTerm.app' ]]; then - echo -e "\033]1337;SetColors=fg=rgb:${_fg}\033\\\033]1337;SetColors=bg=rgb:${_bg}\033\\" + echo -ne "\033]1337;SetColors=fg=rgb:${_fg}\033\\ \033]1337;SetColors=bg=rgb:${_bg}\033\\" else echo -ne "\033]10;#${_fg}\007\033]11;#${_bg}\007" fi