Escape the text sent to tmux

Closes #76
pull/171/merge
Giuseppe Rota 11 years ago committed by Caleb Maclennan
parent 8fa6ca92c0
commit 46377b8ab9
No known key found for this signature in database
GPG Key ID: 63CC496475267693

@ -53,7 +53,7 @@ function! VimuxRunCommand(command, ...)
endfunction
function! VimuxSendText(text)
call VimuxSendKeys('"'.escape(a:text, '\"$`').'"')
call VimuxSendKeys(shellescape(substitute(a:text, "\n$", " ", "")))
endfunction
function! VimuxSendKeys(keys)

Loading…
Cancel
Save