screen capture current terminal window on osx, command-line
screencapture -l$(osascript -e 'tell app "iTerm" to id of window 1') sc_test.png