Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
(very) basic iTerm support #52
Hey guys, this seems to be the bare minimum to get iTerm working - iterm_capture.rb is a direct copy of mac_capture, so there's probably a cleaner way to do it other than copying the whole file.
I'm not very happy with the lib/terminitor.rb or lib/terminitor/runner.rb stuff i did - there needs to be a more extensible way to support multiple clients on a platform, but I just kind of threw this together for my own use.
I've had a go at adding an iterm_core_test.rb but i can't figure out how to get the window option tests to pass - I don't really use the options stuff and unfortunately I don't have time at the moment to write proper tests :( I haven't committed any of the test stuff since it's a bit of a mess.
Anyway feel free to ignore this or use any of iterm_core.rb that you want - I haven't changed much from mac_core.rb and i'm not even sure what i've changed is correct, but it seems to work for the basic terminitor commands i've been using.
thanks for your hard work - much appreciated!
I wrote it for iTerm - I've tried it briefly on iTerm2 and it seems to work the same - I'm not sure what the difference is as I've never really used iTerm2 except to test this. The window options stuff probably doesn't work at all on either :) I just got the basic tab/window opening and commands running. I wouldn't recommend pulling this wholesale, but it might be a good base for getting iTerm working.