Comment on the escape sequence for setting the terminal's title
This commit is contained in:
parent
9d8fb8bc31
commit
df03a8850c
|
@ -15,6 +15,7 @@ All optional parameters are forwarded to the new window} \
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
if [ $# -eq 0 ]; then cmd="${SHELL:-sh}"; else cmd="$@"; fi
|
if [ $# -eq 0 ]; then cmd="${SHELL:-sh}"; else cmd="$@"; fi
|
||||||
|
# The escape sequence in the printf command sets the terminal's title:
|
||||||
setsid ${kak_opt_termcmd} "printf '\e]2;kak_repl_window\a' \
|
setsid ${kak_opt_termcmd} "printf '\e]2;kak_repl_window\a' \
|
||||||
&& ${cmd}" < /dev/null > /dev/null 2>&1 &
|
&& ${cmd}" < /dev/null > /dev/null 2>&1 &
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user