achiurizo / consular-osx

Automate Mac OSX Terminal with Consular
18 stars 6 forks source link

Total Terminal Compatibility #2

Open nickw opened 12 years ago

nickw commented 12 years ago

Just came across an issue trying to use this with TotalTerminal. It's complaining about active_window being nil. I changed:

window.properties_.get[:frontmost] rescue false

to

window.properties_.get[:frontmost] rescue windows.first

and it's happy now. What do you think of this change - should I create a pull request for it?

achiurizo commented 12 years ago

@nickw yeah send a pull request. Did you see if it breaks anything else? I'll check it again too when you sent the request.