Currently there are 2 options to get code from History. You can send it to console or source. It would be great if you could copy it to the clipboard, both using the standard command/ctrl-C or with a button for the gui inclined. There is no way to copy it to the clipboard currently.