Merge branch 'repl' of https://github.com/codesoap/kakoune
This commit is contained in:
commit
2422c2dcd1
|
@ -15,7 +15,9 @@ All optional parameters are forwarded to the new window} \
|
|||
exit
|
||||
fi
|
||||
if [ $# -eq 0 ]; then cmd="${SHELL:-sh}"; else cmd="$@"; fi
|
||||
setsid ${kak_opt_termcmd} ${cmd} -t kak_repl_window < /dev/null > /dev/null 2>&1 &
|
||||
# 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 &
|
||||
}}
|
||||
|
||||
define-command x11-send-text -docstring "send the selected text to the repl window" %{
|
||||
|
|
Loading…
Reference in New Issue
Block a user