Permalink
Browse files

kind-of escape `command` in Pane#split

  • Loading branch information...
1 parent 24667c3 commit 8178c1ead4af44d10c607f2cf4104c6c6bac07a5 @dominikh committed Aug 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tmux/pane.rb
View
@@ -328,7 +328,7 @@ def split(args = {})
end
flags << "-t #{identifier}"
- flags << args[:command] if args[:command]
+ flags << '"' + args[:command] + '"' if args[:command] # TODO escape
server.invoke_command "split-window #{flags.join(" ")} "
if args[:make_active]

0 comments on commit 8178c1e

Please sign in to comment.