Escape a semicolon at the end of input.

Avoid tmux treating it as a separator.
fix-tmux-next-3dot4
Anyakichi 11 years ago
parent 3f930159a2
commit b409314c80

@ -322,7 +322,7 @@ class TmuxSession
end
def _escape_command(command)
command.gsub('"', '\"').gsub('$', '\$')
command.gsub('"', '\"').gsub('$', '\$').sub(/;\z/, '\;')
end
def _run(command)

Loading…
Cancel
Save