1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-09-20 09:19:24 +03:00

Comment on the escape sequence for setting the terminal's title

This commit is contained in:
codesoap 2019-06-18 11:52:33 +02:00
parent 9d8fb8bc31
commit df03a8850c

View File

@ -15,6 +15,7 @@ All optional parameters are forwarded to the new window} \
exit
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' \
&& ${cmd}" < /dev/null > /dev/null 2>&1 &
}}