Method: Tmuxinator::Project#send_keys
- Defined in:
- lib/tmuxinator/project.rb
#send_keys(cmd, window_index) ⇒ Object
290 291 292 293 294 295 296 |
# File 'lib/tmuxinator/project.rb', line 290 def send_keys(cmd, window_index) if cmd.empty? "" else "#{tmux} send-keys -t #{window(window_index)} #{cmd.shellescape} C-m" end end |