Fix setting the terminal palette under tmux
This commit is contained in:
parent
ca131bb775
commit
d8e97c7c2c
1 changed files with 3 additions and 3 deletions
|
@ -198,9 +198,9 @@ alias light='_update_colors light'
|
|||
alias dark='_update_colors dark'
|
||||
|
||||
_send_osc() {
|
||||
local OSC="\E]" ST="\E\\"
|
||||
if [ -n "$TMUX" ]; then OSC="\EPtmux;\E\E]"; fi
|
||||
echo -ne "$OSC$1$ST"
|
||||
local OSC=$'\e]' ST=$'\e\\'
|
||||
if [ -n "$TMUX" ]; then OSC=$'\ePtmux;\e\e]' ST=$'\e\e\\\e\\'; fi
|
||||
echo -n "$OSC$1$ST"
|
||||
}
|
||||
|
||||
_update_colors() {
|
||||
|
|
Loading…
Add table
Reference in a new issue