Skip to content

Commit

Permalink
Fix two iTerm control sequences being clapped together
Browse files Browse the repository at this point in the history
  • Loading branch information
spijet committed Aug 4, 2021
1 parent 4130607 commit 953bf7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cssh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 953bf7f

Please sign in to comment.