Avoid interpretting eventual output in send-text implementations
This commit is contained in:
parent
d3bbab313b
commit
5388a538ef
|
@ -38,7 +38,7 @@ def tmux-repl-window -params 0..1 -command-completion -docstring "Create a new w
|
|||
}
|
||||
|
||||
def tmux-send-text -docstring "Send selected text to the repl pane in tmux" %{
|
||||
%sh{
|
||||
nop %sh{
|
||||
tmux set-buffer -b kak_selection "${kak_selection}"
|
||||
kak_orig_window=$(tmux display-message -p '#I')
|
||||
kak_orig_pane=$(tmux display-message -p '#P')
|
||||
|
|
|
@ -12,7 +12,7 @@ def -docstring 'create a new window for repl interaction' \
|
|||
}}
|
||||
|
||||
def x11-send-text -docstring "send selected text to the repl window" %{
|
||||
%sh{
|
||||
nop %sh{
|
||||
echo "${kak_selection}" | xsel -i
|
||||
wid=$(xdotool getactivewindow)
|
||||
xdotool search --name kak_repl_window windowactivate
|
||||
|
|
Loading…
Reference in New Issue
Block a user