I am running a java script, which has some text output. I'd like to copy/paste that output. If I do ⌘-A, it copies everything that's been typed that session, even if I typed `clear` beforehand. How can I copy only what is currently displayed?