1
0

get-iterm2-buffer 107 B

12345
  1. #! /usr/bin/env osascript
  2. tell app "iTerm2" to tell current session of first window
  3. contents
  4. end tell