Skip to content

Commit

Permalink
added selecting shell tab
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejsliwa committed Jun 7, 2011
1 parent 41d937a commit d0a801a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Support/terminal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'appscript'
include Appscript
rescue LoadError
raise 'You must "sudo gem install rb-appscript"'
raise 'You must "gem install rb-appscript"'
end

def run(options)
Expand Down Expand Up @@ -40,4 +40,6 @@ def run(options)
compile_cmd = "c(\"#{source_file}\",[{outdir, \"#{compile_path}\"}])."
app('Terminal').do_script(compile_cmd, :in => tab)
end

current_window.selected_tab.set(tab)
end

0 comments on commit d0a801a

Please sign in to comment.