Method: Terminitor::MacCore#terminal_process
- Defined in:
- lib/terminitor/cores/mac_core.rb
#terminal_process ⇒ Object
Returns the Terminal Process We need this method to workaround appscript so that we can instantiate new tabs and windows. otherwise it would have looked something like window.make(:new => :tab) but that doesn’t work.
49 50 51 |
# File 'lib/terminitor/cores/mac_core.rb', line 49 def terminal_process app("System Events").application_processes["Terminal.app"] end |