What kind of psychopath wants formatting included when pasting?
@djohngo what's worse when I copy and paste from a terminal the foreground and background colors get carried along with it whoever wants that even if they want to retain formatting?
@resuna Yes. That is quite mad. It gets me every time because how could something so awful exist?
@djohngo my terminal color is selected arbitrarily based on a hash of the host name.
@resuna @djohngo how do you achieve this?

@mk @djohngo

tell application "Terminal"
tell the front window
set the background color to { %s }
end tell
set windowID to id of the front window
end tell

@mk @djohngo Then to reset it:

tell application terminal
tell window id %s
set the background color to { %s }
end tell
end tell

The %ses are a cheesy way of passing parameters to the applescript.